-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, it is worth filing
an enhancement
Konstantin Kolinko wrote:
2010/6/11 Reich, Matthias matthias.re...@siemens-enterprise.com:
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
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
was
2010/6/8 Reich, Matthias matthias.re...@siemens-enterprise.com:
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) {
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/11 Reich, Matthias matthias.re...@siemens-enterprise.com:
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