mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- Patch for keepalive-bug
PR: 71961 Submitted by: Kenneth Vestergaard Schmidt
This commit is contained in:
parent
3f876547de
commit
d4b9b686e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118762
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= apache+mod_ssl
|
||||
PORTVERSION= ${VERSION_APACHE}+${VERSION_MODSSL}
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= www security
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
|
||||
${MASTER_SITES_MODSSL:S/$/:mod_ssl/} \
|
||||
|
11
www/apache13-modssl/files/patch-http_request.c
Normal file
11
www/apache13-modssl/files/patch-http_request.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/main/http_request.c.bak Wed Apr 28 20:58:42 2004
|
||||
+++ src/main/http_request.c Mon Jun 14 17:11:06 2004
|
||||
@@ -1056,7 +1056,7 @@
|
||||
*/
|
||||
if ((r->status != HTTP_NOT_MODIFIED) && (r->status != HTTP_NO_CONTENT)
|
||||
&& !ap_status_drops_connection(r->status)
|
||||
- && r->connection && (r->connection->keepalive > 0)) {
|
||||
+ && r->connection && (r->connection->keepalive != -1)) {
|
||||
|
||||
(void) ap_discard_request_body(r);
|
||||
}
|
Loading…
Reference in New Issue
Block a user