[mirrorbrain-commits] r7875 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Sat, 28 Nov 2009 15:26:18 -0000
Author: poeml
Date: Sat Nov 28 16:26:18 2009
New Revision: 7875

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7875&view=rev
Log:
mod_mirrorbrain:
- change default of MirrorBrainHandleHEADRequestLocally to Off,
  and make it clearer what the default is.

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=7875&r1=7874&r2=7875&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Sat Nov 28 16:26:18 2009
_at_@ -270,7 +270,7 @@
     new->debug                      = UNSET;
     new->min_size                   = DEFAULT_MIN_MIRROR_SIZE;
     new->handle_dirindex_locally    = UNSET;
-    new->handle_headrequest_locally = UNSET;
+    new->handle_headrequest_locally = 0;
     new->mirror_base = NULL;
     new->exclude_mime = apr_array_make(p, 0, sizeof (char *));
     new->exclude_agents = apr_array_make(p, 0, sizeof (char *));
_at_@ -2102,7 +2102,8 @@
                   "Set to On/Off to handle directory listings locally (don't redirect)"),
     AP_INIT_FLAG("MirrorBrainHandleHEADRequestLocally", mb_cmd_handle_headrequest_locally, NULL, 
                   OR_OPTIONS,
-                  "Set to On/Off to handle HEAD requests locally (don't redirect)"),
+                  "Set to On to handle HEAD requests locally (instead of redirecting "
+                  "them to a mirror). Default: Off."),
 
     AP_INIT_TAKE1("MirrorBrainMetalinkTorrentAddMask", mb_cmd_metalink_torrentadd_mask, NULL, 
                   ACCESS_CONF,




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

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 Sat Nov 28 2009 - 15:26:19 GMT

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