diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:46:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:46:31 +0000 |
commit | 659491bbc6105236ec6bc477b3e30a478e5ebe36 (patch) | |
tree | a2f77992b68d41477f84b3360fb50c3a9e564892 | |
parent | d410c49965f4f31b2bf79aaebd7d82741d8c229c (diff) | |
download | tor-659491bbc6105236ec6bc477b3e30a478e5ebe36.tar.gz tor-659491bbc6105236ec6bc477b3e30a478e5ebe36.zip |
Fix some messages that say "failing".
svn:r4955
-rw-r--r-- | src/or/directory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 25132aeb73..0f93f3a53f 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -749,7 +749,7 @@ connection_dir_client_reached_eof(connection_t *conn) &headers, MAX_HEADERS_SIZE, &body, &body_len, MAX_DIR_SIZE)) { case -1: /* overflow */ - log_fn(LOG_WARN,"'fetch' response too large (server '%s:%d'). Failing.", conn->address, conn->port); + log_fn(LOG_WARN,"'fetch' response too large (server '%s:%d'). Closing.", conn->address, conn->port); return -1; case 0: log_fn(LOG_INFO,"'fetch' response not all here, but we're at eof. Closing."); @@ -847,7 +847,7 @@ connection_dir_client_reached_eof(connection_t *conn) return 0; } if (status_code != 200) { - log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. Failing.", + log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. I'll try again soon.", status_code, reason, conn->address, conn->port); tor_free(body); tor_free(headers); tor_free(reason); return -1; @@ -867,7 +867,7 @@ connection_dir_client_reached_eof(connection_t *conn) /* just update our list of running routers, if this list is new info */ log_fn(LOG_INFO,"Received running-routers list (size %d)", (int)body_len); if (status_code != 200) { - log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. Failing.", + log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. I'll try again soon.", status_code, reason, conn->address, conn->port); tor_free(body); tor_free(headers); tor_free(reason); return -1; @@ -892,7 +892,7 @@ connection_dir_client_reached_eof(connection_t *conn) char *cp; log_fn(LOG_INFO,"Received networkstatus objects (size %d) from server '%s:%d'",(int) body_len, conn->address, conn->port); if (status_code != 200) { - log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. Failing.", + log_fn(LOG_WARN,"Received http status code %d (\"%s\") from server '%s:%d'. I'll try again soon.", status_code, reason, conn->address, conn->port); tor_free(body); tor_free(headers); tor_free(reason); return -1; |