Commit 49a4253f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated apr to 1.7.0

parent cf36e41f
all:
tar xf apr-1.6.3.tar.bz2
patch -Np1 -d apr-1.6.3 < apr-1.6.3-tests.patch
cd apr-1.6.3 && ./configure --prefix=/usr --disable-static --with-installbuilddir=/usr/share/apr-1/build
$(MAKE) -C apr-1.6.3
# $(MAKE) -C apr-1.6.3 test
$(MAKE) -C apr-1.6.3 install
rm -rf apr-1.6.3
tar xf apr-1.7.0.tar.bz2
cd apr-1.7.0 && ./configure --prefix=/usr --disable-static --with-installbuilddir=/usr/share/apr-1/build
$(MAKE) -C apr-1.7.0
$(MAKE) -C apr-1.7.0 test
$(MAKE) -C apr-1.7.0 install
rm -rf apr-1.7.0
diff -uNr apr-1.6.3/test/sendfile.c apr-1.6.3-tests/test/sendfile.c
--- apr-1.6.3/test/sendfile.c 2013-10-15 00:15:05.000000000 +1030
+++ apr-1.6.3-tests/test/sendfile.c 2018-08-04 05:58:03.904131883 +0930
@@ -463,7 +463,7 @@
/* 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(60));
if (rv != APR_SUCCESS) {
aprerr("apr_socket_timeout_set()", rv);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment