tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49095] New: org.apache.tomcat.util.net.AprEndpoint.unlockAccept does not wakeup accepts with deferred accept or BSD filters
Date Mon, 12 Apr 2010 12:16:26 GMT
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: rpluem@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message