You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@en.muc.de> on 1996/07/25 08:34:35 UTC
(fwd) Apache: bug in mod_proxy
Have you already seen this message?
If not, I think anyone should commit this bugfix.
Path: en.muc.de!news.sdm.de!Munich.Germany.EU.net!Frankfurt.Germany.EU.net!Stuttgart.Germany.EU.net!main.Germany.EU.net!EU.net!newsfeed.internetmci.com!hunter.premier.net!news.cais.net!van-bc!vancouver-webpages.com!admin
From: admin@vancouver-webpages.com (Vancouver Webpages Admin.)
Newsgroups: comp.infosystems.www.servers.unix
Subject: Apache: bug in mod_proxy
Date: 24 Jul 1996 19:30:54 GMT
Organization: Vancouver Webpages
Lines: 24
Distribution: world
Message-ID: <4t...@wolfe.wimsey.com>
NNTP-Posting-Host: vancouver-webpages.wis.net
X-Newsreader: TIN [version 1.2 PL2]
In Apache 1.1.1, src/mod_proxy.c, I am fairly certain
that line 1786 should read "Expires", not "Expire", as per RFC1945.
(the expires header from the remote server was being ignored).
begin patch -->
--- mod_proxy.0.c Wed Jul 3 08:02:58 1996
+++ mod_proxy.c Wed Jul 24 12:12:03 1996
@@ -1783,7 +1783,7 @@
/* read expiry date; if a bad date, then leave it so the client can
* read it
*/
- expire = get_header(resp_hdrs, "Expire");
+ expire = get_header(resp_hdrs, "Expires");
if (expire != NULL) expc = parsedate(expire->value, NULL);
else expc = -1;
<-- end patch
Andrew Daviel
--
Vancouver Webpages Administration
routine: mailto:admin@vancouver-webpages.com
normal: mailto:priority@vancouver-webpages.com
http://vancouver-webpages.com - home of searchBC - free SIC listings
Ralf S. Engelschall
rse@engelschall.com
http://www.engelschall.com/~rse