nginx: update to 1.10.1.

This commit is contained in:
Toyam Cox 2016-06-27 15:39:21 -04:00
parent 0049783a97
commit 2478604756
2 changed files with 4 additions and 20 deletions

View file

@ -1,16 +0,0 @@
http://mailman.nginx.org/pipermail/nginx-announce/2016/000179.html
--- src/os/unix/ngx_files.c
+++ src/os/unix/ngx_files.c
@@ -183,6 +183,12 @@ ngx_write_chain_to_file(ngx_file_t *file
/* create the iovec and coalesce the neighbouring bufs */
while (cl && vec.nelts < IOV_MAX) {
+
+ if (ngx_buf_special(cl->buf)) {
+ cl = cl->next;
+ continue;
+ }
+
if (prev == cl->buf->pos) {
iov->iov_len += cl->buf->last - cl->buf->pos;

View file

@ -1,7 +1,7 @@
# Template file for 'nginx'
pkgname=nginx
version=1.8.1
revision=5
version=1.10.1
revision=1
makedepends="pcre-devel libressl-devel $(vopt_if geoip geoip-devel)"
if [ "$CROSS_BUILD" ]; then
# fake configure run on host
@ -28,7 +28,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Simplified BSD"
homepage="http://nginx.org"
distfiles="http://nginx.org/download/nginx-$version.tar.gz"
checksum=8f4b3c630966c044ec72715754334d1fdf741caa1d5795fb4646c27d09f797b7
checksum=1fd35846566485e03c0e318989561c135c598323ff349c503a6c14826487a801
build_options="geoip"
build_options_default="geoip"
@ -59,7 +59,7 @@ do_configure() {
--with-ipv6 --with-pcre-jit \
--with-file-aio \
--with-http_gunzip_module \
--with-http_spdy_module \
--with-http_v2_module \
--with-http_dav_module \
--with-http_gzip_static_module \
--with-http_realip_module \