- increase timeout to fix random failure of testsuite + apr-test-sendfile-timeout.patch - linux version is now checked correctly, drop (see change log from Sun Aug 7 01:21:44 UTC 2011) OBS-URL: https://build.opensuse.org/request/show/672707 OBS-URL: https://build.opensuse.org/package/show/Apache/apr?expand=0&rev=21
14 lines
620 B
Diff
14 lines
620 B
Diff
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/test/sendfile.c 2019-02-08 08:56:28.089635785 +0100
|
|
@@ -256,7 +256,7 @@ static int client(apr_pool_t *p, client_
|
|
break;
|
|
case TIMEOUT:
|
|
/* set a timeout */
|
|
- rv = apr_socket_timeout_set(sock, 100 * APR_USEC_PER_SEC);
|
|
+ rv = apr_socket_timeout_set(sock, 1000 * APR_USEC_PER_SEC);
|
|
if (rv != APR_SUCCESS) {
|
|
aprerr("apr_socket_opt_set(APR_SO_NONBLOCK)", rv);
|
|
exit(1);
|