From: Roger Dingledine Date: Sun, 30 Jan 2005 06:08:42 +0000 (+0000) Subject: give a better log message when we don't have a good mirror of X-Git-Tag: tor-0.1.0.1-rc~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab0138e4ca3f41eb3946d588c3055cf2a3d3566;p=thirdparty%2Ftor.git give a better log message when we don't have a good mirror of the directory yet and somebody asks for it. svn:r3464 --- diff --git a/src/or/directory.c b/src/or/directory.c index e4a5d15553..1742500251 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -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; }