Commented: (MODPYTHON-78) No support for Apache 2.2 yet
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Commented: (MODPYTHON-78) No support for Apache 2.2 yet




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register