Arun Dsouza created PROTON-163:
----------------------------------

             Summary: On connection open <username>@ is appended to the hostname
                 Key: PROTON-163
                 URL: https://issues.apache.org/jira/browse/PROTON-163
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.1, 0.2
            Reporter: Arun Dsouza
            Priority: Minor


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.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to