mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
List service address in CIRC events for HS-related circs
This commit is contained in:
parent
c7d01b0541
commit
d0ed7cbf8b
@ -4,8 +4,9 @@
|
|||||||
controllers in CIRC events and in replies to 'GETINFO
|
controllers in CIRC events and in replies to 'GETINFO
|
||||||
circuit-status'. Implements part of ticket 2411.
|
circuit-status'. Implements part of ticket 2411.
|
||||||
|
|
||||||
- Report the current state of a hidden-service-related circuit to
|
- Report the hidden service address and current state of a
|
||||||
controllers in CIRC events and in replies to 'GETINFO
|
hidden-service-related circuit to controllers in CIRC events and
|
||||||
circuit-status'. Implements part of ticket 2411.
|
in replies to 'GETINFO circuit-status'. Implements part of
|
||||||
|
ticket 2411.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1842,6 +1842,15 @@ circuit_describe_status_for_controller(origin_circuit_t *circ)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (circ->rend_data != NULL) {
|
||||||
|
char *rend_query_arg = NULL;
|
||||||
|
|
||||||
|
tor_asprintf(&rend_query_arg, "REND_QUERY=%s",
|
||||||
|
circ->rend_data->onion_address);
|
||||||
|
|
||||||
|
smartlist_add(descparts, rend_query_arg);
|
||||||
|
}
|
||||||
|
|
||||||
rv = smartlist_join_strings(descparts, " ", 0, NULL);
|
rv = smartlist_join_strings(descparts, " ", 0, NULL);
|
||||||
|
|
||||||
SMARTLIST_FOREACH(descparts, char *, cp, tor_free(cp));
|
SMARTLIST_FOREACH(descparts, char *, cp, tor_free(cp));
|
||||||
|
Loading…
Reference in New Issue
Block a user