Apache Mod-Python - Commented: (MODPYTHON-78) No support for Apache 2.2 yet

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > January 2006 > Commented: (MODPYTHON-78) No support for Apache 2.2 yet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Commented: (MODPYTHON-78) No support for Apache 2.2 yet
Deron Meranda (JIRA)

2006-01-31, 6:32 pm

[ http://issues.apache.org/jira/brows...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...thon.devel/1425 for some remarks by Jorey Bump, raised during the 3.2.1-BETA tests.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com