Filip Hanik - Dev Lists wrote:
are you able to submit a simple example, and we shall get it taken care of
Yes...but only in the parallel universe where I have loads of spare time ;)

Realistically it'd be quicker for me to debug the problem in situ and fix it
than to create an isolate reproduction case (since that involves creating
a client too).

One more question before I dive in : what's the 'correct' way for the
application to terminate a live Comet request ? That is, suppose the
client connects, sends an http request, which we process, then the
client does exactly nothing, forever. Unless the server closes the
TCP connection, this connection will stay open until the end of time
(and that's what I observe practically). How should the application force
the closure of the connection ? (possibly the answer is 'send a response
to the client which causes it to close', but given the fact that Tomcat
never sends anything to the client, that doesn't work). I've tried calling
event.close(), and close() on the response stream. Neither seems
to have the desired effect.

It'd be useful to know the intended
behavior of the CometProcessor interface, so I can determine if
it's behaving as intended. Right now I don't have a clear definition
in my mind of either the intended interface behavior, nor the actual
implementation behavior, nor if the two are the same or different.

Thanks again for your help.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to