users@grizzly.java.net

Re: Grizzly slowly leaking with comet support on version 1.0.39

From: wild <itchy75_at_hotmail.fr>
Date: Mon, 11 Apr 2011 06:50:24 -0700 (PDT)

I'm not sure I'm using an http pipeline. how can I make sure of that ?

The sequence of comet registration (code in comet servlet) :

1. create handler and attach the http response
2. send a ack in http response outuput stream (write + flush)
3. add the comet handler in comet context by calling addCometHandler
4. response.flushBuffer(); => not sure why this code is here (legacy), I can
try to remove it

Comet registration is made by a post or a get, so I think all the data have
been read.... How can I ensure that all the data have been read in a servlet
code ?

Tell me I am doing something wrong. Othrewise I will fill an issue in your
tracker.

Regards,

William.

--
View this message in context: http://grizzly.1045725.n5.nabble.com/Grizzly-slowly-leaking-with-comet-support-on-version-1-0-39-tp4295847p4295976.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.