summaryrefslogtreecommitdiff
path: root/www/apache22/files/exp-windowsupdate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache22/files/exp-windowsupdate.patch')
-rw-r--r--www/apache22/files/exp-windowsupdate.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache22/files/exp-windowsupdate.patch b/www/apache22/files/exp-windowsupdate.patch
new file mode 100644
index 000000000000..3f1306777100
--- /dev/null
+++ b/www/apache22/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);
+ }
+