| 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},
|