aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-19 23:15:59 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-19 23:15:59 +0000
commit38be533c69417aacf28cedec1c3bae808ce29f48 (patch)
tree4b32df1d9146b1a598dc0956f29e107092308da8 /src/or/cpuworker.c
parentff48179372853bc7625981503c58a06cd509462a (diff)
downloadtor-38be533c69417aacf28cedec1c3bae808ce29f48.tar.gz
tor-38be533c69417aacf28cedec1c3bae808ce29f48.zip
Handle unavailable hidden services better. We try each intro point
until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 4ca69c2293..c198325b86 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -227,7 +227,7 @@ static int cpuworker_main(void *data) {
if (r == 0) {
log_fn(LOG_INFO,"CPU worker exiting because Tor process closed connection (either rotated keys or died).");
} else {
- log_fn(LOG_INFO,"CPU worker editing because of error on connection To Tor process.");
+ log_fn(LOG_INFO,"CPU worker editing because of error on connection to Tor process.");
log_fn(LOG_INFO,"(Error on %d was %s)", fd, tor_socket_strerror(tor_socket_errno(fd)));
}
goto end;