1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00
Amitay Isaacs 41f0252da2 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@gmail.com>

(This used to be ctdb commit 524ec206e6a5e8b11723f4d8d1251ed5d84063b0)
2013-04-05 13:21:41 +11:00
..
2010-06-21 16:09:16 +09:30
2012-02-13 16:23:17 +01:00
2010-12-10 13:42:25 +11:00
2012-02-13 16:23:17 +01:00
2012-02-13 16:23:17 +01:00
2012-02-13 16:23:17 +01:00
2012-09-28 17:05:34 +10:00
2010-06-04 20:30:08 +09:30