mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user