- Remove obsolete patch which add support to Windows Update Service when

apache acts as a proxy.

Reported by:    Bjoern Voigt <bjoern@cs.tu-berlin.de>
This commit is contained in:
Clement Laforet 2006-05-10 19:50:26 +00:00
parent 2b3de32437
commit d8348f8d1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162010
3 changed files with 0 additions and 20 deletions

View File

@ -36,10 +36,6 @@ CONFLICTS= apache+mod_ssl-1.* apache+mod_ssl+ipv6-1.* apache+mod_ssl+modsnmp-1.*
# patch files # patch files
EXTRA_PATCHES+= ${FILESDIR}/build-fix-openssl_beta EXTRA_PATCHES+= ${FILESDIR}/build-fix-openssl_beta
.if defined (WITH_WINDOWSUPDATEFIX)
EXTRA_PATCHES+= ${FILESDIR}/exp-windowsupdate.patch
.endif
.if defined(WITH_EXPERIMENTAL_PATCHES) .if defined(WITH_EXPERIMENTAL_PATCHES)
IGNORE= : Please define WITH_KQUEUE_SUPPORT instead IGNORE= : Please define WITH_KQUEUE_SUPPORT instead
.endif .endif

View File

@ -73,12 +73,7 @@
## [cgi|errordocs|icons|wwwdata] ## [cgi|errordocs|icons|wwwdata]
## ##
## Optionnal patches: ## Optionnal patches:
# WITH_EXPERIMENTAL_PATCHES Add performance patches (generally backported
# from apr/httpd CVS)
#
## WITH_KQUEUE_SUPPORT Add kqueue support to apr/httpd ## WITH_KQUEUE_SUPPORT Add kqueue support to apr/httpd
## WITH_WINDOWSUPDATEFIX Add a fix to use apache as proxy with
## Windows Update service.
## ##
## Available make targets: ## Available make targets:
## show-options: prints this message ## show-options: prints this message

View File

@ -1,11 +0,0 @@
--- server/protocol.c.orig Tue Jun 29 08:21:28 2004
+++ server/protocol.c Tue Jun 29 08:21:50 2004
@@ -1248,7 +1248,7 @@
* We can only set a C-L in the response header if we haven't already
* sent any buckets on to the next output filter for this request.
*/
- if (ctx->data_sent == 0 && eos) {
+ if (ctx->data_sent == 0 && eos && !r->header_only) {
ap_set_content_length(r, r->bytes_sent);
}