[or-cvs] r12934: minor other things in my sandbox (in tor/trunk: doc src/or)

arma at seul.org arma at seul.org
Sun Dec 23 01:28:25 UTC 2007


Author: arma
Date: 2007-12-22 20:28:25 -0500 (Sat, 22 Dec 2007)
New Revision: 12934

Modified:
   tor/trunk/doc/TODO
   tor/trunk/src/or/directory.c
Log:
minor other things in my sandbox


Modified: tor/trunk/doc/TODO
===================================================================
--- tor/trunk/doc/TODO	2007-12-23 01:18:14 UTC (rev 12933)
+++ tor/trunk/doc/TODO	2007-12-23 01:28:25 UTC (rev 12934)
@@ -57,8 +57,8 @@
       o make the Alternate*Authority config options pass a "default_type"
         to parse_dir_server_line() so they don't demand as much redundancy
       o some sort of reachability testing on bridges
-      - a dir-based way to fetch the bridge networkstatus list
-      - there's a config option with a password and somehow use an
+      o a dir-based way to fetch the bridge networkstatus list
+      o there's a config option with a password and somehow use an
         http header and check it
       - clients who have a password configured decide to ask their bridge
         authority for a networkstatus

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-12-23 01:18:14 UTC (rev 12933)
+++ tor/trunk/src/or/directory.c	2007-12-23 01:28:25 UTC (rev 12934)
@@ -995,7 +995,7 @@
 {
   const char *cp = headers;
   while (cp) {
-    if (!strcmpstart(cp, which)) {
+    if (!strcasecmpstart(cp, which)) {
       char *eos;
       cp += strlen(which);
       if ((eos = strchr(cp,'\r')))
@@ -2600,7 +2600,7 @@
     char *secret;
     int r;
 
-    header = http_get_header(headers, "Authorization: basic ");
+    header = http_get_header(headers, "Authorization: Basic ");
 
     if (!header) {
       write_http_status_line(conn, 404, "Not found");



More information about the tor-commits mailing list