diff options
Diffstat (limited to 'src/testcurl/perf_get_concurrent.c')
-rw-r--r-- | src/testcurl/perf_get_concurrent.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c index 15616ad5..b6c9259b 100644 --- a/src/testcurl/perf_get_concurrent.c +++ b/src/testcurl/perf_get_concurrent.c | |||
@@ -306,7 +306,15 @@ testExternalGet (int port) | |||
306 | if (MHD_YES != tret) tt = 1; | 306 | if (MHD_YES != tret) tt = 1; |
307 | tv.tv_sec = tt / 1000; | 307 | tv.tv_sec = tt / 1000; |
308 | tv.tv_usec = 1000 * (tt % 1000); | 308 | tv.tv_usec = 1000 * (tt % 1000); |
309 | select (max + 1, &rs, &ws, &es, &tv); | 309 | if (-1 == select (max + 1, &rs, &ws, &es, &tv)) |
310 | { | ||
311 | if (EINTR == errno) | ||
312 | continue; | ||
313 | fprintf (stderr, | ||
314 | "select failed: %s\n", | ||
315 | strerror (errno)); | ||
316 | break; | ||
317 | } | ||
310 | MHD_run (d); | 318 | MHD_run (d); |
311 | } | 319 | } |
312 | stop ("external select"); | 320 | stop ("external select"); |