diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2017-07-25 01:18:22 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2017-07-25 08:23:10 -0700 |
commit | b252de9c855435aab3162ba7eea50af587501a11 (patch) | |
tree | 2a49ab53e7236e6bd368b5a634d8e4f3b6c22a38 /librabbitmq/amqp.h | |
parent | b9eabbae2e312734b034d7588f03901ca76d158e (diff) | |
download | rabbitmq-c-b252de9c855435aab3162ba7eea50af587501a11.tar.gz |
Lib: simplify socket connection logicconn-try
Refactor amqp_socket_open_inner so that the socket connection logic is
in it's own OS-specific socket_connect function, and the host resolution
and retry logic calls this. This makes the socket connection logic
easier to understand and reduces the number of win32 #ifdefs.
This also fixes an issue where multiple hostnames are not tried if
connect doesn't fail immediately.
Fixes #430
Diffstat (limited to 'librabbitmq/amqp.h')
0 files changed, 0 insertions, 0 deletions