> -Original Message-
> From: Konstantin Kolinko
> Sent: Friday, June 11, 2010 4:46 AM
> To: Tomcat Users List
> Subject: Re: Connection is closed when CometEvent.close is
> called during an event
>
> Regarding Comet + Keep-Alive, if it does not work,
Konstantin Kolinko wrote:
> 2010/6/11 Reich, Matthias :
> >
> > The concept of long poll is e.g. described in
> >
> http://www.javaworld.com/javaworld/jw-03-2008/jw-03-asynchhttp
.html?page=6
> >
> > The sequence of events in my situation is as follows:
> > - a poll request is received by the serv
2010/6/11 Reich, Matthias :
>
> The concept of long poll is e.g. described in
> http://www.javaworld.com/javaworld/jw-03-2008/jw-03-asynchhttp.html?page=6
>
> The sequence of events in my situation is as follows:
> - a poll request is received by the server
> - the CoyoteAdapter.service method is c
On 10/06/2010 9:49 PM, Konstantin Kolinko wrote:
> 2010/6/8 Reich, Matthias:
> > I modified the code (in 6.0.20 and 6.0.26) so that the
> error flag is not set.
> > With that change Tomcat kept the connection open:
> >
> > ...
> > if (response.isClosed() || !request.isComet()) {
> > if
2010/6/8 Reich, Matthias :
> I modified the code (in 6.0.20 and 6.0.26) so that the error flag is not set.
> With that change Tomcat kept the connection open:
>
> ...
> if (response.isClosed() || !request.isComet()) {
> if (status==SocketStatus.OPEN) {
> //CometEvent.close was call
On 08/06/2010 11:26, Reich, Matthias wrote:
> Hello,
>
> I am using a CometProcessor servlet in a long-poll scenario, and recently had
> a closer look at the life span of connections that are used for poll requests.
>
> I noticed that connections are closed by Tomcat whenever a poll request
> wa