diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-19 23:15:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-19 23:15:59 +0000 |
commit | 38be533c69417aacf28cedec1c3bae808ce29f48 (patch) | |
tree | 4b32df1d9146b1a598dc0956f29e107092308da8 /src/or/directory.c | |
parent | ff48179372853bc7625981503c58a06cd509462a (diff) | |
download | tor-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/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 4aedbf8b6f..dc12d056db 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -746,8 +746,8 @@ connection_dir_client_reached_eof(connection_t *conn) * cleans it up */ } else { /* success. notify pending connections about this. */ - rend_client_desc_fetched(conn->rend_query, 1); conn->purpose = DIR_PURPOSE_HAS_FETCHED_RENDDESC; + rend_client_desc_here(conn->rend_query); } break; case 404: |