Apache Mod-Python - Commented: (MODPYTHON-62) local_ip and local_host in connection object returns remote_

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > July 2005 > Commented: (MODPYTHON-62) local_ip and local_host in connection object returns remote_





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-62) local_ip and local_host in connection object returns remote_
Jim Gallacher (JIRA)

2005-07-14, 5:47 pm

[ http://issues.apache.org/jira/brows...action_12315833 ]

Jim Gallacher commented on MODPYTHON-62:
----------------------------------------

This is odd. The subversion log indicates that this was fixed in revision r104184 by grisha on 2004-07-06, but the tarball for 3.1.4 still has the error.

At any rate, svn trunk for 3.2 has the correct code and so this issue can be closed.

> local_ip and local_host in connection object returns remote_ip and remote_host instead
> --------------------------------------------------------------------------------------
>
> Key: MODPYTHON-62
> URL: http://issues.apache.org/jira/browse/MODPYTHON-62
> Project: mod_python
> Type: Bug
> Components: core
> Versions: 3.1.4
> Reporter: Deron Meranda


>
> It appears as if the source file src/connobject.c is incorrect.
> connobject.c:261: {"local_ip", T_STRING, OFF(remote_ip), RO},
> connobject.c:262: {"local_host", T_STRING, OFF(remote_host), RO},
> should instead be
> connobject.c:261: {"local_ip", T_STRING, OFF(local_ip), RO},
> connobject.c:262: {"local_host", T_STRING, OFF(local_host), RO},


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com