Issue Details (XML | Word | Printable)

Key: MODPYTHON-62
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Deron Meranda
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

local_ip and local_host in connection object returns remote_ip and remote_host instead

Created: 14/Jul/05 02:51 AM   Updated: 05/Mar/06 02:09 PM
Return to search
Component/s: core
Affects Version/s: 3.1.4
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Resolution Date: 10/Aug/05 08:00 PM


 Description  « Hide
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},

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Gallacher added a comment - 14/Jul/05 11:00 PM
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.

Nicolas Lehuen added a comment - 10/Aug/05 08:00 PM
This has already been fixed.