[SCM] CTDB repository - branch master updated - ctdb-2.1-47-g1c7adbc

Stefan (metze) Metzmacher metze at samba.org
Mon Apr 8 01:51:20 MDT 2013


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 <amitay at gmail.com>

Why have you also moved the set_close_on_exec() call?

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130408/3a6e245b/attachment.pgp>


More information about the samba-technical mailing list