Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-62

local_ip and local_host in connection object returns remote_ip and remote_host instead

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.2.7
    • Component/s: core
    • Labels:
      None

      Description

      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}

      ,

        Activity

        Hide
        jgallacher Jim Gallacher added a comment -

        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.

        Show
        jgallacher Jim Gallacher added a comment - 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.
        Hide
        nlehuen Nicolas Lehuen added a comment -

        This has already been fixed.

        Show
        nlehuen Nicolas Lehuen added a comment - This has already been fixed.

          People

          • Assignee:
            Unassigned
            Reporter:
            dmeranda Deron Meranda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development