.... source3/lib/util_sock.c async_connect without retry
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Sep 2019 03:38:30 +0000 (20:38 -0700)
committerStefan Metzmacher <metze@samba.org>
Tue, 28 Jan 2020 12:26:51 +0000 (13:26 +0100)
source3/lib/util_sock.c

index 8fd2f7fa3155f70ef1f10bf33d90c86a8d111eae..349975a4660183a6eafff621413f52ecfd304ab3 100644 (file)
@@ -471,8 +471,9 @@ struct tevent_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
        state->ev = ev;
        state->ss = *pss;
        state->port = port;
-       state->wait_usec = 10000;
+       state->wait_usec = 10000000;
        state->salen = -1;
+       timeout *=100;
 
        state->fd = socket(state->ss.ss_family, SOCK_STREAM, 0);
        if (state->fd == -1) {