mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
This commit is contained in:
parent
0de56e5535
commit
72bb5854f7
@ -405,7 +405,7 @@ static curl_socket_t sockdaemon(curl_socket_t sock,
|
||||
(void *)&flag, sizeof(flag));
|
||||
while ((rc < 0) && maxretr) {
|
||||
maxretr--;
|
||||
go_sleep(10);
|
||||
go_sleep(50);
|
||||
rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
|
||||
(void *)&flag, sizeof(flag));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user