diff options
Diffstat (limited to 'tests/libtest/lib503.c')
-rw-r--r-- | tests/libtest/lib503.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index 66d2c9813..efa6723c1 100644 --- a/tests/libtest/lib503.c +++ b/tests/libtest/lib503.c @@ -10,7 +10,6 @@ #include "test.h" -#include <sys/time.h> #include <sys/types.h> #include "timeval.h" @@ -83,7 +82,7 @@ int test(char *URL) interval.tv_sec = 1; interval.tv_usec = 0; - if (curlx_tvdiff(curlx_tvnow(), ml_start) > + if (curlx_tvdiff(curlx_tvnow(), ml_start) > MAIN_LOOP_HANG_TIMEOUT) { ml_timedout = TRUE; break; @@ -93,7 +92,7 @@ int test(char *URL) while (res == CURLM_CALL_MULTI_PERFORM) { res = (int)curl_multi_perform(m, &running); - if (curlx_tvdiff(curlx_tvnow(), mp_start) > + if (curlx_tvdiff(curlx_tvnow(), mp_start) > MULTI_PERFORM_HANG_TIMEOUT) { mp_timedout = TRUE; break; |