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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]