summaryrefslogtreecommitdiff
path: root/src/or/directory.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/directory.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/directory.c')
-rw-r--r--src/or/directory.c2
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: