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 2012/03/14 01:53:04 UTC

DO NOT REPLY [Bug 52904] New: Listen directive is broken when the MPM has per-directory config

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

             Bug #: 52904
           Summary: Listen directive is broken when the MPM has
                    per-directory config
           Product: Apache httpd-2
           Version: 2.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sgunderson@bigfoot.com
    Classification: Unclassified


Hi,

r806010 introduced a hack where the per-directory config pointer (termed
"dummy") is assumed to always be NULL when called from the config parser, and
then abused to mark the listening sockets with differing parameters. I could
not find any use of this functionality within Apache or outside it, only
http://www.gossamer-threads.com/lists/apache/dev/372147 which says "wait and
see".

Unfortunately, this breaks if the MPM in use _does_ have a per-directory
config; the config file is parsed twice, and since the config pointer will be
different (and non-NULL) between the two calls to Listen(), there will be a
fatal error. In particular, mpm-itk (mpm-itk.sesse.net) does this, which
prevents a clean 2.4 port.

Please revert this patch (and optionally replace it with something cleaner); it
is not in use by any current code and breaks a valid configuration, albeit one
with external modules.

-- 
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


[Bug 52904] Listen directive is broken when the MPM has per-directory config

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

Stefan Fritsch <sf...@sfritsch.de> changed:

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

--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> ---
fixed in 2.4.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 52904] Listen directive is broken when the MPM has per-directory config

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

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2012-03-24 18:12:11 UTC ---
r1304874
proposed for 2.4

-- 
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