summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-13 02:49:45 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-13 02:49:45 +0000
commit97c83a4c09417bd5124aec7008aa28e361ce40a6 (patch)
tree53ec0b3d8855d2c885fccc669fcf097d6c0ff9ea /src/or/rendservice.c
parent0dbf725927c0b3a7f88b852b272573c91857be9b (diff)
downloadtor-97c83a4c09417bd5124aec7008aa28e361ce40a6.tar.gz
tor-97c83a4c09417bd5124aec7008aa28e361ce40a6.zip
finish enabling begin-dir cells. require one-hop circs for
socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index cf9be7a437..81a0862b84 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -582,7 +582,7 @@ rend_service_introduce(origin_circuit_t *circuit, const char *request,
*/
for (i=0;i<MAX_REND_FAILURES;i++) {
launched = circuit_launch_by_extend_info(
- CIRCUIT_PURPOSE_S_CONNECT_REND, extend_info,
+ CIRCUIT_PURPOSE_S_CONNECT_REND, 0, extend_info,
circ_needs_uptime, 1, 1);
if (launched)
@@ -661,7 +661,7 @@ rend_service_relaunch_rendezvous(origin_circuit_t *oldcirc)
log_info(LD_REND,"Reattempting rendezvous circuit to '%s'",
oldstate->chosen_exit->nickname);
- newcirc = circuit_launch_by_extend_info(CIRCUIT_PURPOSE_S_CONNECT_REND,
+ newcirc = circuit_launch_by_extend_info(CIRCUIT_PURPOSE_S_CONNECT_REND, 0,
oldstate->chosen_exit, 0, 1, 1);
if (!newcirc) {
log_warn(LD_REND,"Couldn't relaunch rendezvous circuit to '%s'.",
@@ -698,7 +698,7 @@ rend_service_launch_establish_intro(rend_service_t *service,
rep_hist_note_used_internal(time(NULL), 1, 0);
++service->n_intro_circuits_launched;
- launched = circuit_launch_by_nickname(CIRCUIT_PURPOSE_S_ESTABLISH_INTRO,
+ launched = circuit_launch_by_nickname(CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, 0,
nickname, 1, 0, 1);
if (!launched) {
log_info(LD_REND,