[
http://issues.apache.org/jira/browse/MODPYTHON-78?page=comments#action_12364671
]
Deron Meranda commented on MODPYTHON-78:
----------------------------------------
One small incompatibility is the call to the APR function
apr_sockaddr_port_get(), as introduced in the fix for bug MODPYTHON-64. That
function was deprecated in APR 1.0 (which maked it into httpd 2.2). The
changelog for APR says:
*) The following deprecated interfaces have been removed:
....
apr_sockaddr_port_get -> (access directly)
After reviewing the APR changes, it appears that the correct fix to mod_python
is quite simple. The line in connobject.c:
apr_sockaddr_port_get(&port, addr);
should be replaced with
port = addr->port;
This is still portable and has no endianness or word-size issues. (as it would
if it tried accessing the addr->sa sub-struct directly).
> No support for Apache 2.2 yet
> -----------------------------
>
> Key: MODPYTHON-78
> URL: http://issues.apache.org/jira/browse/MODPYTHON-78
> Project: mod_python
> Type: Bug
> Components: core
> Versions: 3.2
> Reporter: Nicolas Lehuen
> Fix For: 3.3
>
> See http://article.gmane.org/gmane.comp.apache.mod-python.devel/1425 for some
> remarks by Jorey Bump, raised during the 3.2.1-BETA tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira