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 2008/05/23 22:59:44 UTC

DO NOT REPLY [Bug 45072] New: APR Connection with keepalive blocks on worker, not poller, after sendfile

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

           Summary: APR Connection with keepalive blocks on worker, not
                    poller, after sendfile
           Product: Tomcat 6
           Version: 6.0.16
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: alex@planet-barclay.com


Created an attachment (id=21994)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21994)
Hand socket back to poller

After a sendfile operation on the APR connector the socket is handed to a
worker thread which blocks reading the next request using the
InternalAPRInputBuffer, rather than going back to the poller. This in turn
requires a worker thread to be assigned to each client with a keep alive
connection.

The attached patch changes the behavior to hand the socket back to the poller
until the next request comes in.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45072] APR Connection with keepalive blocks on worker, not poller, after sendfile

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


Remy Maucherat <re...@apache.org> changed:

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




--- Comment #1 from Remy Maucherat <re...@apache.org>  2008-05-25 08:24:51 PST ---
This is already in the patch queue.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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