commit | e3635edc885e066491dd4db9688862149a538ab6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Nov 24 11:23:04 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 24 11:23:04 2012 +0100 |
tree | 52426a53e1c608ed94c3abc6f13fdbf3f3b9f417 | |
parent | 6c560da279430e3e11f9845026d22efed6fdf44c [diff] |
BUG/MEDIUM: connection: local_send_proxy must wait for connection to establish The conn_local_send_proxy() function has to retrieve the local and remote addresses, but the getpeername() and getsockname() functions may fail until the connection is established. So now we catch this error and poll for write when this happens.