This commit is contained in:
parent
c86eac4e74
commit
7f15ef7e99
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user