Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-163

On connection open <username>@ is appended to the hostname

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-0.1, proton-0.2
    • proton-0.3
    • proton-c
    • None

    Description

      When Proton-C creates an AMQP open frame it appends '<username>@' to the hostname.

      This is because the pn_messenger_resolve function in messenger.c sets the HostName to the domain and not the hostname as parsed from the incoming address.

      pn_connection_set_hostname(connection, host); should be used instead of
      pn_connection_set_hostname(connection, domain);

      Is this intended?

      This might cause issues with some broker implementations that might not expect the usename to the appended to the host name.

      Attachments

        Activity

          People

            rhs Rafael H. Schloming
            dsouzaarun Arun Dsouza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: