SHA256
1
0
forked from pool/apr
Petr Gajdos 2019-02-08 09:26:48 +00:00 committed by Git OBS Bridge
parent c86eac4e74
commit 7f15ef7e99

View File

@ -7,7 +7,7 @@ Index: apr-1.6.5/test/sendfile.c
case TIMEOUT:
/* set a timeout */
- rv = apr_socket_timeout_set(sock, 100 * APR_USEC_PER_SEC);
+ rv = apr_socket_timeout_set(sock, apr_time_from_sec(3));
+ rv = apr_socket_timeout_set(sock, apr_time_from_sec(100));
if (rv != APR_SUCCESS) {
aprerr("apr_socket_opt_set(APR_SO_NONBLOCK)", rv);
exit(1);