the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
authorGunter Knauf <gk@gknw.de>
Thu, 12 Jul 2007 10:54:15 +0000 (10:54 +0000)
committerGunter Knauf <gk@gknw.de>
Thu, 12 Jul 2007 10:54:15 +0000 (10:54 +0000)
tests/server/sockfilt.c

index e8d7013..5e13b8a 100644 (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));
   }