pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache24 Bump PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a03da659a0e7
branches:  trunk
changeset: 603963:a03da659a0e7
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri May 18 20:56:28 2012 +0000

description:
Bump PKGREVISION.

Fix PR pkg/46458

* Fix download delay problem
  https://issues.apache.org/bugzilla/show_bug.cgi?id=53253

diffstat:

 www/apache24/Makefile                             |   3 +-
 www/apache24/distinfo                             |   3 +-
 www/apache24/patches/patch-server_core__filters.c |  26 +++++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r ca668f621333 -r a03da659a0e7 www/apache24/Makefile
--- a/www/apache24/Makefile     Fri May 18 20:45:15 2012 +0000
+++ b/www/apache24/Makefile     Fri May 18 20:56:28 2012 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2012/04/26 12:20:06 hans Exp $
+# $NetBSD: Makefile,v 1.7 2012/05/18 20:56:28 ryoon Exp $
 
 DISTNAME=      httpd-2.4.2
 PKGNAME=       ${DISTNAME:S/httpd/apache/}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_APACHE:=httpd/} \
                http://archive.apache.org/dist/httpd/ \
diff -r ca668f621333 -r a03da659a0e7 www/apache24/distinfo
--- a/www/apache24/distinfo     Fri May 18 20:45:15 2012 +0000
+++ b/www/apache24/distinfo     Fri May 18 20:56:28 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2012/04/18 11:27:01 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2012/05/18 20:56:28 ryoon Exp $
 
 SHA1 (httpd-2.4.2.tar.bz2) = 8d391db515edfb6623c0c7c6ce5c1b2e1f7c64c2
 RMD160 (httpd-2.4.2.tar.bz2) = 1b97ab44075bea0f398f507dacb5f719a87b720b
@@ -13,3 +13,4 @@
 SHA1 (patch-al) = 02d9ade5aac4270182063d5ad413970c832ee911
 SHA1 (patch-am) = f14b260ffad2c7e8d26e5b614d4aeaf8506e195b
 SHA1 (patch-aw) = 43cd64df886853ef7b75b91ed20183f329fcc9df
+SHA1 (patch-server_core__filters.c) = 331672c9a65691229518f31dcdae64382b392287
diff -r ca668f621333 -r a03da659a0e7 www/apache24/patches/patch-server_core__filters.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache24/patches/patch-server_core__filters.c Fri May 18 20:56:28 2012 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-server_core__filters.c,v 1.1 2012/05/18 20:56:29 ryoon Exp $
+
+Fix PR pkg/46458
+Upstream bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=53253
+
+--- server/core_filters.c.orig 2012-02-04 10:04:59.000000000 +0000
++++ server/core_filters.c
+@@ -640,18 +640,13 @@ static apr_status_t send_brigade_nonbloc
+             if ((apr_file_flags_get(fd) & APR_SENDFILE_ENABLED) &&
+                 (bucket->length >= AP_MIN_SENDFILE_BYTES)) {
+                 if (nvec > 0) {
+-                    (void)apr_socket_opt_set(s, APR_TCP_NOPUSH, 1);
+                     rv = writev_nonblocking(s, vec, nvec, bb, bytes_written, c);
+                     nvec = 0;
+                     if (rv != APR_SUCCESS) {
+-                        (void)apr_socket_opt_set(s, APR_TCP_NOPUSH, 0);
+                         return rv;
+                     }
+                 }
+                 rv = sendfile_nonblocking(s, bucket, bytes_written, c);
+-                if (nvec > 0) {
+-                    (void)apr_socket_opt_set(s, APR_TCP_NOPUSH, 0);
+-                }
+                 if (rv != APR_SUCCESS) {
+                     return rv;
+                 }



Home | Main Index | Thread Index | Old Index