]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
give a better log message when we don't have a good mirror of
authorRoger Dingledine <arma@torproject.org>
Sun, 30 Jan 2005 06:08:42 +0000 (06:08 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 30 Jan 2005 06:08:42 +0000 (06:08 +0000)
the directory yet and somebody asks for it.

svn:r3464

src/or/directory.c

index e4a5d155535c19488e313e1f382029c19693eae9..1742500251e91eea78c159c99b072aa7318652ff 100644 (file)
@@ -874,7 +874,7 @@ directory_handle_command_get(connection_t *conn, char *headers,
     tor_free(url);
 
     if (dlen == 0) {
-      log_fn(LOG_NOTICE,"My directory is empty. Closing.");
+      log_fn(LOG_NOTICE,"Client asked for the mirrored directory, but we don't have a good one yet. Sending 503 Dir not available.");
       write_http_status_line(conn, 503, "Directory unavailable");
       return 0;
     }