diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/sendfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sendfile.c b/test/sendfile.c index 4ef8b3ec1..1da59d3b5 100644 --- a/test/sendfile.c +++ b/test/sendfile.c @@ -434,7 +434,7 @@ static int client(client_socket_mode_t socket_mode) } while (total_bytes_sent < expected_len && (rv == APR_SUCCESS || - APR_STATUS_IS_EAGAIN(rv))); + (APR_STATUS_IS_EAGAIN(rv) && socket_mode != TIMEOUT))); if (total_bytes_sent != expected_len) { fprintf(stderr, "client problem: sent %ld of %ld bytes\n", |