the timeout was probably too short with max = 1 sec, so lets test with 5 sec.

This commit is contained in:
Gunter Knauf 2007-07-12 10:54:15 +00:00
parent 0de56e5535
commit 72bb5854f7

View File

@ -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));
}