01-31-06 11:32 PM
[ http://issues.apache.org/jira/brows...2364
671 ]
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 dep
recated in APR 1.0 (which maked it into httpd 2.2). The changelog for APR s
ays:
*) 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_pyth
on 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 wou
ld 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...thon.devel/1425 for some rema
rks by Jorey Bump, raised during the 3.2.1-BETA tests.
[ Post a follow-up to this message ]
|