]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
minor other things in my sandbox
authorRoger Dingledine <arma@torproject.org>
Sun, 23 Dec 2007 01:28:25 +0000 (01:28 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 23 Dec 2007 01:28:25 +0000 (01:28 +0000)
svn:r12934

doc/TODO
src/or/directory.c

index aa2c6b7d21246ec6de607881644da74d0e7d4071..9f7746cb24aa738e4932969dae73c0baf4aabed5 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -57,8 +57,8 @@ R - bridge communities
       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
index 05e15582952b7ced504dd9b9196c18691357235e..9d8371951dce5215316b4b280a5139067f98db0c 100644 (file)
@@ -995,7 +995,7 @@ http_get_header(const char *headers, const char *which)
 {
   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 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
     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");