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

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

Modified:
   trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
Log:
mod_mirrorbrain:
- reflect an X-Broken-Mirrors header, so these replies can be recognized
  easily.


Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
===================================================================
--- trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-03-02 17:47:33 UTC (rev 6657)
+++ trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-03-02 18:00:17 UTC (rev 6658)
@@ -1614,6 +1614,7 @@
         if(apr_table_get(r->headers_in, "X-Broken-Mirrors")) {
             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");
             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 2009-03-02Z18:00:59

This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:12 GMT