1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/async_req
Ralph Boehme 9c6a4ea278 async_req: make async_connect_send() "reentrant"
Allow callers to pass in socket fds that where already passed to an
earlier call of async_connect_send(). Callers expect this behaviour and
it was working until 05d4dbda83 broke it.

The proper fix would be to change callers to close the fd and start from
scratch with a fresh socket.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12105

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Aug  4 05:03:21 CEST 2016 on sn-devel-144
2016-08-04 05:03:21 +02:00
..
async_connect_send_test.c selftest: Fix memset parameters in test for async_connect_send() 2015-10-21 17:31:00 +02:00
async_sock.c async_req: make async_connect_send() "reentrant" 2016-08-04 05:03:21 +02:00
async_sock.h lib: Add accept_send/recv 2016-06-07 14:34:10 +02:00
wscript_build lib/async_req: do not install async_connect_send_test. 2015-12-01 17:41:19 +01:00