Bug #1222: Clarify new circuit after sleep notice

("Application request when we're believed to be offline." ->
 "Application request when we haven't used client functionality lately.")
This commit is contained in:
Chris Ball 2010-07-31 16:20:21 -04:00 committed by Nick Mathewson
parent 15424bf800
commit 1470eb2e91
2 changed files with 9 additions and 4 deletions

5
changes/bug1222 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes:
- #1222: Change "Application request when we're believed to be
offline." notice to "Application request when we haven't used
client functionality lately.", to clarify that it's not an error.

View File

@ -1184,13 +1184,13 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn,
* as loudly. the user doesn't even know it's happening. */ * as loudly. the user doesn't even know it's happening. */
if (options->UseBridges && bridges_known_but_down()) { if (options->UseBridges && bridges_known_but_down()) {
log_fn(severity, LD_APP|LD_DIR, log_fn(severity, LD_APP|LD_DIR,
"Application request when we're believed to be " "Application request when we haven't used client functionality "
"offline. Optimistically trying known bridges again."); "lately. Optimistically trying known bridges again.");
bridges_retry_all(); bridges_retry_all();
} else if (!options->UseBridges || any_bridge_descriptors_known()) { } else if (!options->UseBridges || any_bridge_descriptors_known()) {
log_fn(severity, LD_APP|LD_DIR, log_fn(severity, LD_APP|LD_DIR,
"Application request when we're believed to be " "Application request when we haven't used client functionality "
"offline. Optimistically trying directory fetches again."); "lately. Optimistically trying directory fetches again.");
routerlist_retry_directory_downloads(time(NULL)); routerlist_retry_directory_downloads(time(NULL));
} }
} }