1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/libctdb
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
..
test libctdb: test: run.sh script 2010-06-21 16:09:16 +09:30
control.c libctdb: Add comments to effect that some controls return result in status 2012-10-02 17:37:52 +10:00
ctdb.c client: Set the socket non-blocking only after connect succeeds 2013-04-05 13:21:41 +11:00
io_elem.c Add includes required on FreeBSD 2012-02-13 16:23:17 +01:00
io_elem.h LibCTDB 2010-12-10 13:42:25 +11:00
libctdb_private.h libctdb: "unpack_reply_control" does not need the ctdb_connection parameter 2011-08-22 17:11:07 +02:00
local_tdb.c Add includes required on FreeBSD 2012-02-13 16:23:17 +01:00
local_tdb.h libctdb: first cut, supports getrecmaster only 2010-05-21 12:07:41 +09:30
logging.c Add includes required on FreeBSD 2012-02-13 16:23:17 +01:00
messages.c Add includes required on FreeBSD 2012-02-13 16:23:17 +01:00
messages.h libctdb: implement ctdb_disconnect and ctdb_detachdb 2010-06-18 15:35:52 +09:30
sync.c libctdb: add ctdb_getcapabilities() 2012-09-28 17:05:34 +10:00
TODO libctdb: documentation 2010-06-04 20:30:08 +09:30
tst.c libctdb: "ctdb_request_free" does not need the ctdb_connection parameter 2011-08-22 17:11:07 +02:00