Ignore:
Timestamp:
Jun 14, 2013, 4:10:05 PM (11 years ago)
Author:
achernya
Message:
Port httpdmods to httpd 2.4

mod_original_dst has very few changes; the mpm.h header is now
missing, so hardcode the accept function in the now-nonexistant
#define.  If a better way to do this is found, this hard-coding should
be replaced, but from inspecing the 2.4.4 source, this appears to be
the best way.

mod_authz_afsgroup has more extensive changes, due to the differences
in how Apache 2.4 handles authorization. In theory, this should work
the same way as before, and reduces the amount of code, as Apache will
no longer force us to parse lines that are not relevant to us.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc19-dev/server/common/oursrc/httpdmods/mod_original_dst.c

    r1796 r2435  
    1616#include "ap_config.h"
    1717#include "ap_listen.h"
     18#include "apr_portable.h"
    1819#include "http_config.h"
    1920#include "http_log.h"
    2021#include "httpd.h"
    21 #include "mpm.h"
     22#include "unixd.h"
     23
     24#define MPM_ACCEPT_FUNC ap_unixd_accept
    2225
    2326extern void apr_sockaddr_vars_set(apr_sockaddr_t *, int, apr_port_t);
Note: See TracChangeset for help on using the changeset viewer.