httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Jones <pjo...@pmade.org>
Subject Re: [PATCH] getsfunc_BRIGADE tries to split a pipe bucket
Date Wed, 08 Jan 2003 21:55:59 GMT
Hey, remember back when Peter Jones said:
> Is there a reason that ap_scan_script_header_err_core can't put the
> Expires header in r->headers_out? Want me to send in a patch?

--- server/util_script.c.orig	Wed Jan  8 13:33:47 2003
+++ server/util_script.c	Wed Jan  8 13:33:47 2003
@@ -591,6 +591,9 @@
 	else if (!strcasecmp(w, "Transfer-Encoding")) {
 	    apr_table_set(r->headers_out, w, l);
 	}
+	else if (!strcasecmp(w, "Expires")) {
+	    apr_table_set(r->headers_out, w, l);
+	}
 	/*
 	 * If the script gave us a Last-Modified header, we can't just
 	 * pass it on blindly because of restrictions on future values.

-- 
Peter Jones <jesus;unix;c++;crypto;vi;4wd;geek> [ http://pmade.org ]
PGP Fingerprint: 27AD 7922 D3BC 46A3 3627 D7B4 4240 46C3 A41E 844A

Mime
View raw message