diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-04 18:58:38 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-04 18:58:38 +0000 |
commit | 70e5a83a77900121ea66a28e8743ea3b25135dea (patch) | |
tree | 7546e9b987d09856d7fd77ac71f8237f5c5f9c32 /src/or/directory.c | |
parent | 5f9f62daa29a58ba855c8318f814eb527ae38066 (diff) | |
download | tor-70e5a83a77900121ea66a28e8743ea3b25135dea.tar.gz tor-70e5a83a77900121ea66a28e8743ea3b25135dea.zip |
r12057@catbus: nickm | 2007-03-04 13:58:32 -0500
Clarify some log messages; note others that could be improved later.
svn:r9724
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 261cbd1034..72e57114de 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1056,6 +1056,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn) log_info(LD_DIR,"Received networkstatus objects (size %d) from server " "'%s:%d'",(int) body_len, conn->_base.address, conn->_base.port); if (status_code != 200) { + /* XXXX This warning tends to freak out clients who get a 403. */ log_warn(LD_DIR, "Received http status code %d (%s) from server " "'%s:%d' while fetching \"/tor/status/%s\". I'll try again soon.", @@ -1133,6 +1134,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn) (status_code == 400 && !strcmp(reason, "Servers unavailable.")); /* 404 means that it didn't have them; no big deal. * Older (pre-0.1.1.8) servers said 400 Servers unavailable instead. */ + /* XXXX This warning tends to freak out clients who get a 403. */ log_fn(dir_okay ? LOG_INFO : LOG_WARN, LD_DIR, "Received http status code %d (%s) from server '%s:%d' " "while fetching \"/tor/server/%s\". I'll try again soon.", |