Hi Amitay,

>     client: Set the socket non-blocking only after connect succeeds
>     
>     If the socket is set non-blocking before connect, then we should catch
>     EAGAIN errors and retry. Instead of adding a random number of retries,
>     better to wait for connect to succeed and then set the socket to
>     non-blocking.
>     
>     Signed-off-by: Amitay Isaacs <[email protected]>

Why have you also moved the set_close_on_exec() call?

metze


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to