diff options
author | Neel Chauhan <neel@neelc.org> | 2020-10-12 20:46:42 -0700 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2020-10-12 20:46:42 -0700 |
commit | 05242f5555ceb276dd945f9d43a37dbe3d5d875b (patch) | |
tree | 91b7bd1a45c153f908ff5ca94e7f2240d1f8a950 /src/core/or/circuituse.c | |
parent | c4812698c3df0bd8aa51c615b0274bbb53b9eb6c (diff) | |
download | tor-05242f5555ceb276dd945f9d43a37dbe3d5d875b.tar.gz tor-05242f5555ceb276dd945f9d43a37dbe3d5d875b.zip |
Pass the SOCKS request address in relay begin cells
Diffstat (limited to 'src/core/or/circuituse.c')
-rw-r--r-- | src/core/or/circuituse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c index df23c63cff..a0816fc73c 100644 --- a/src/core/or/circuituse.c +++ b/src/core/or/circuituse.c @@ -2710,7 +2710,8 @@ link_apconn_to_circ(entry_connection_t *apconn, origin_circuit_t *circ, apconn->may_use_optimistic_data = 0; log_info(LD_APP, "Looks like completed circuit to %s %s allow " "optimistic data for connection to %s", - circ->base_.purpose == CIRCUIT_PURPOSE_C_GENERAL ? + (circ->base_.purpose == CIRCUIT_PURPOSE_C_GENERAL || + circ->base_.purpose == CIRCUIT_PURPOSE_CONTROLLER) ? /* node_describe() does the right thing if exitnode is NULL */ safe_str_client(node_describe(exitnode)) : "hidden service", |