DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18634>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18634 Expediate Pragma:no-cache rolled out Summary: Expediate Pragma:no-cache rolled out Product: Apache httpd-1.3 Version: HEAD Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The changes below: diff -c -r1.75 -r1.79 *** proxy_http.c 24 Sep 2001 22:35:37 -0000 1.75 --- proxy_http.c 5 Oct 2001 17:46:39 -0000 1.79 *************** *** 172,178 **** { const char *strp; char *strp2; ! const char *err, *desthost; int i, j, sock, len, backasswards; array_header *reqhdrs_arr; table *resp_hdrs; --- 172,178 ---- { const char *strp; char *strp2; ! const char *err, *desthost, *pragma; int i, j, sock, len, backasswards; array_header *reqhdrs_arr; table *resp_hdrs; *************** *** 472,477 **** --- 472,487 ---- ap_table_set(resp_hdrs, "Location", proxy_location_reverse_map(r, datestr)); if ((datestr = ap_table_get(resp_hdrs, "URI")) != NULL) ap_table_set(resp_hdrs, "URI", proxy_location_reverse_map(r, datestr)); + + /* + * If "Pragma: no-cache" set nocache and make reply un-buffered to + * ensure timely delivery + */ + if (((pragma = ap_table_get(resp_hdrs, "Pragma")) != NULL && + ap_proxy_liststr(pragma, "no-cache"))) { + nocache = 1; + r->connection->client->flags &= ~B_WR; + } /* check if NoCache directive on this host */ if (nocache == 0) { ---------------------------- revision 1.76 date: 2001/09/28 05:28:59; author: chuck; state: Exp; lines: +9 -1 Honor Pragma: no-cache for HTTP 1.0. The 1.3 proxy rewrite and 2.0 code already handles both cases (Pragma: and Cache-Control:) PR: 5668 Submitted by: Kim Bisgaard <[EMAIL PROTECTED]> Reviewed by: Chuck Murcko ============================================================================= (1.77-1.79 were minor bugfixes to 1.76 commit) were rolled out on this commit: ---------------------------- revision 1.101 date: 2002/09/03 07:12:46; author: minfrin; state: Exp; lines: +0 -2 Fix a problem in proxy where headers from other modules were added to the response headers when this was already done in the core already. This resulted in header (and therefore cookie) duplication. PR: Obtained from: Submitted by: Martijn Schoemaker <[EMAIL PROTECTED]> Reviewed by: Graham Leggett ============================================================================= --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
