Dominic Evans created PROTON-751:

             Summary: [PATCH] proton-c: pn_connect failures aren't exposed via 
                 Key: PROTON-751
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.8
            Reporter: Dominic Evans

If I attempt to put and send a message using messenger to a unresolvable DNS 
name, messenger just blocks indefinitely (or until timeout if one is set) and 
the getaddrinfo failure is never exposed to the user via messenger->error
$ bundle exec ruby send.rb -a

The fix is to update pn_messenger_resolve to copy the error set on 
messenger->io to messenger->error in the event that PN_INVALID_SOCKET is 
returned by the pn_connect call (in the same way as we already do for 

This message was sent by Atlassian JIRA

Reply via email to