summaryrefslogtreecommitdiff
path: root/www/apache21/files/exp-windowsupdate.patch
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-12-11 18:06:04 +0000
committerClement Laforet <clement@FreeBSD.org>2004-12-11 18:06:04 +0000
commita3468fefcb7e17260776ae49bc4053c7b66076fb (patch)
treeb345059920aea199678ac75606fc64d5512e13c2 /www/apache21/files/exp-windowsupdate.patch
parentConnect fgfs-base. (diff)
- Add apache 2.1.2
This is a development version, awaiting for 2.2
Notes
Notes: svn path=/head/; revision=123726
Diffstat (limited to 'www/apache21/files/exp-windowsupdate.patch')
-rw-r--r--www/apache21/files/exp-windowsupdate.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache21/files/exp-windowsupdate.patch b/www/apache21/files/exp-windowsupdate.patch
new file mode 100644
index 000000000000..3f1306777100
--- /dev/null
+++ b/www/apache21/files/exp-windowsupdate.patch
@@ -0,0 +1,11 @@
+--- 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);
+ }
+