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

           Summary: org.apache.tomcat.util.net.AprEndpoint.unlockAccept
                    does not wakeup accepts with deferred accept or BSD
                    filters
           Product: Tomcat 6
           Version: 6.0.26
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: rpl...@apache.org


Created an attachment (id=25266)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25266)
Patch to fix issue

org.apache.tomcat.util.net.AprEndpoint.unlockAccept does not wakeup accepts
with deferred accept or BSD filters. This is because it only connects to its
connector for causing the accept call to return. This is not enough in the case
of a deferred accept / BSD filters as the accept call only returns from the
kernel if data was sent / a HTTP request was sent. The attached patch fixes
that by sending and OPTIONS * in this case.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to