On 1/31/06, Deron Meranda <[EMAIL PROTECTED]> wrote:
> On 1/31/06, Jim Gallacher <[EMAIL PROTECTED]> wrote:
> > apache 2.2. I scanned mod_python for deprecated or removed apr calls and
> > can find only one (apr_sockaddr_port_get), plus the missing
> > APR_STATUS_IS_SUCCESS macro.
>
> The apr_sockaddr_port_get() call was introduced by me to support
> IPv6 in modpython with MODPYTHON-64.

Okay, the correct fix for apr_sockaddr_port_get() which works under
both Apache 2.0 and 2.2 is to replace the single call in connobject.c,
   apr_sockaddr_port_get(&port, addr);
with
   port = addr->port;

I've added this information to MODPYTHON-78 notes (httpd 2.2 port).

Of course that fix only *needs* to be made when 2.2 is completely
addressed, but it can be safely rolled in before then too.
--
Deron Meranda

Reply via email to