diff options
author | Roger Dingledine <arma@torproject.org> | 2005-08-12 01:26:21 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-08-12 01:26:21 +0000 |
commit | aab541c85246f600e66be9f1db4eb2ba3319da4a (patch) | |
tree | 387bb142d514074824fe114c308a5cb48ff505fb /src/or/rendservice.c | |
parent | 2caa74e6ff7fa9da3dfb070c45164c1eb820e09e (diff) | |
download | tor-aab541c85246f600e66be9f1db4eb2ba3319da4a.tar tor-aab541c85246f600e66be9f1db4eb2ba3319da4a.tar.gz |
We weren't cannibilizing circuits correctly for
CIRCUIT_PURPOSE_C_ESTABLISH_REND and CIRCUIT_PURPOSE_S_ESTABLISH_INTRO
so we were being forced to build those from scratch.
This should save us a bit of time. Also fixes bug 173.
svn:r4763
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 2f540e33c..2e4959425 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -655,6 +655,8 @@ rend_service_launch_establish_intro(rend_service_t *service, const char *nicknam sizeof(launched->rend_query)); memcpy(launched->rend_pk_digest, service->pk_digest, DIGEST_LEN); + if (launched->state == CIRCUIT_STATE_OPEN) + rend_service_intro_has_opened(launched); return 0; } |