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
This commit is contained in:
Roger Dingledine
2005-01-19 23:15:59 +00:00
parent ff48179372
commit 38be533c69
7 changed files with 45 additions and 35 deletions
+1 -1
View File
@@ -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;