From 05242f5555ceb276dd945f9d43a37dbe3d5d875b Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Mon, 12 Oct 2020 20:46:42 -0700 Subject: Pass the SOCKS request address in relay begin cells --- src/core/or/circuituse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/or/circuituse.c') 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", -- cgit v1.2.3-54-g00ecf