You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/02/28 21:41:59 UTC

[Bug 56201] New: Comet connector

https://issues.apache.org/bugzilla/show_bug.cgi?id=56201

            Bug ID: 56201
           Summary: Comet connector
           Product: Tomcat 7
           Version: 7.0.23
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: bennett.schneider@tekcomms.com

Created attachment 31357
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31357&action=edit
Patch to set comet to false in recycleInternal

org.apache.coyote.http11.Http11AprProcessor objects are not being properly
recycled prior to insertion into the ConnectionHandler's reycledProcessors.
Specifically, Http11AprProcessor.comet is not set to false. When an
Http11AprProcessor is returned from the recycledProcessors with this flag set
to true, the connection is immediately aborted by tomcat.

We have both comet and traditional http connections occurring to the same
tomcat and when in this state the manifestation is that periodically the client
connection is aborted. Resetting the above mentioned flag in recycleInternal
seems to address the issue, although we haven't tracked down the exact cause of
the missing COMET_END that would have avoided this. See attached diff for the
change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56201] Comet connector

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56201

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
> Version: 7.0.23

The current version of Tomcat 7 is 7.0.52.

As of now, you patch is wrong.  The "comet" flag does not belong to
Http11AprProcessor. It belongs to its parent class, AbstractHttp11Processor,
and is properly reset in AbstractHttp11Processor.recycle(..)

That specific line originates from r1373667 that was a fix for bug 53697 (18
months ago).

*** This bug has been marked as a duplicate of bug 53697 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org