[mirrorbrain-commits] [opensuse-svn] r6659 - trunk/tools/download-redirector-v2/mod_mirrorbrain

From: Novell Forge SVN <noreply_at_novell.com>
Date: Mon, 2 Mar 2009 11:11:08 -0700 (MST)
Author: poeml
Date: 2009-03-02 11:11:06 -0700 (Mon, 02 Mar 2009)
New Revision: 6659

Modified:
   trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
Log:
mod_mirrorbrain:
- also set a vary on the X-Broken-Mirrors header. The cache control header
  seems to be get lost in the setup on download.opensuse.org


Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
===================================================================
--- trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-03-02 18:00:17 UTC (rev 6658)
+++ trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-03-02 18:11:06 UTC (rev 6659)
_at_@ -1615,6 +1615,7 @@
             debugLog(r, cfg, "Client sent X-Broken-Mirrors header -- adding broken mirrors");
             apr_table_mergen(r->headers_out, "Cache-Control", "no-store,max-age=0");
             apr_table_addn(r->headers_out, "X-Broken-Mirrors", "true");
+            apr_table_mergen(r->headers_out, "Vary", "X-Broken-Mirrors");
             ap_rprintf(r, "\n      <!-- Broken mirrors for testing: -->\n");
             /* hostname does not resolve */
             ap_rprintf(r, "      <url type=\"http\" location=\"de\" preference=\"%d\">"

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
mirrorbrain-commits mailing list

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Mon Mar 02 2009 - 18:11:50 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT