From: Volker Lendecke Date: Sat, 3 Jan 2009 18:23:13 +0000 (+0100) Subject: Actually do a non-blocking connect.... :-) X-Git-Tag: samba-4.0.0alpha6~283^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34e8945cb5d0568e511708779d2c33cc59ed54e1;p=thirdparty%2Fsamba.git Actually do a non-blocking connect.... :-) --- diff --git a/source3/lib/async_sock.c b/source3/lib/async_sock.c index 107d1402fcb..f755f7ac582 100644 --- a/source3/lib/async_sock.c +++ b/source3/lib/async_sock.c @@ -636,7 +636,7 @@ struct async_req *async_connect(TALLOC_CTX *mem_ctx, struct event_context *ev, return NULL; } - set_blocking(fd, true); + set_blocking(fd, false); state->result.result_int = connect(fd, address, address_len);