Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4732

Python client qpid.connection object's string conversion fails with IPv6 addresses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.22
    • None
    • Python Client
    • None

    Description

      Bug found by Bill Freeman.

      The _str_ method for the qpid.connection object assumes an IPv4 address. If an IPv6 address is returned, it will fail. Example:

      For IPv6 getsockname() returns:

      ('::1', 49845, 0, 0)

      but the conversion uses this format:

      return "%s:%s" % self.sock.getsockname()

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: