This commit is contained in:
parent
7f15ef7e99
commit
01e539b88e
@ -1,7 +1,7 @@
|
|||||||
Index: apr-1.6.5/test/sendfile.c
|
Index: apr-1.6.5/test/sendfile.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- apr-1.6.5.orig/test/sendfile.c 2013-10-14 15:45:05.000000000 +0200
|
--- apr-1.6.5.orig/test/sendfile.c 2013-10-14 15:45:05.000000000 +0200
|
||||||
+++ apr-1.6.5/test/sendfile.c 2019-02-08 08:56:28.089635785 +0100
|
+++ apr-1.6.5/test/sendfile.c 2019-02-08 10:46:26.212110629 +0100
|
||||||
@@ -256,7 +256,7 @@ static int client(apr_pool_t *p, client_
|
@@ -256,7 +256,7 @@ static int client(apr_pool_t *p, client_
|
||||||
break;
|
break;
|
||||||
case TIMEOUT:
|
case TIMEOUT:
|
||||||
@ -11,3 +11,12 @@ Index: apr-1.6.5/test/sendfile.c
|
|||||||
if (rv != APR_SUCCESS) {
|
if (rv != APR_SUCCESS) {
|
||||||
aprerr("apr_socket_opt_set(APR_SO_NONBLOCK)", rv);
|
aprerr("apr_socket_opt_set(APR_SO_NONBLOCK)", rv);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@@ -463,7 +463,7 @@ static int client(apr_pool_t *p, client_
|
||||||
|
/* in case this is the non-blocking test, set socket timeout;
|
||||||
|
* we're just waiting for EOF */
|
||||||
|
|
||||||
|
- 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_timeout_set()", rv);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user