git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4490dca
)
.... source3/lib/util_sock.c async_connect without retry
author
Stefan Metzmacher
<metze@samba.org>
Fri, 27 Sep 2019 03:38:30 +0000
(20:38 -0700)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 28 Jan 2020 12:26:51 +0000
(13:26 +0100)
source3/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sock.c
b/source3/lib/util_sock.c
index 8fd2f7fa3155f70ef1f10bf33d90c86a8d111eae..349975a4660183a6eafff621413f52ecfd304ab3 100644
(file)
--- a/
source3/lib/util_sock.c
+++ b/
source3/lib/util_sock.c
@@
-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 = 10000
000
;
state->salen = -1;
+ timeout *=100;
state->fd = socket(state->ss.ss_family, SOCK_STREAM, 0);
if (state->fd == -1) {