You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/06/26 12:46:48 UTC

DO NOT REPLY [Bug 45286] New: Listen / AcceptFilter interaction

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

           Summary: Listen / AcceptFilter interaction
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: lendl@nic.at


While dealing with basically the same problem as
http://www.gossamer-threads.com/lists/modperl/modperl/97455 for
https://sourceforge.net/projects/aepps, a lot of Googling and Source-reading
brought me to the following solution:

    AcceptFilter epp none
    Listen 700 epp

---------

Now knowing the solution, I checked back to the official documentation for
these two directives, and found that

* http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter
  does not somehow tell the reader how to set the protocol name for a socket.

* http://httpd.apache.org/docs/2.2/bind.html
  does not contain any information regarding a possible second parameter which
sets the protocol for this port.

* I haven't found any hints as to what a connection-handler should do (e.g.
call ap_set_server_protocol()?) to set the AcceptFilter or "protocol" field
itself.

Phew. 

What about adding to the "Listen" documentation something like

"Listen takes an optional second argument which sets the protocol name for this
connection. An 'AcceptFilter' statement can then be used to set policies for
this port"

and to the 'AcceptFilter', something like

"The default protocol names are https (for port 443) and http (for everything
else). To set the protocol of a specific port, use the second parameter of the
"Listen" directive.


-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45286] Listen / AcceptFilter interaction

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

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugs@httpd.apache.org       |docs@httpd.apache.org

--- Comment #1 from Rich Bowen <rb...@apache.org> 2010-10-29 11:07:35 EDT ---
Moving docs bugs to docs@httpd.a.o ownership.

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org