tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit c7534fa527baf1eb491a8805479c78c14a5c9e21
parent 9f2f359494f826f9fe57573b46daefe30b493dc1
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon,  2 Jun 2025 16:37:02 -0400

Enable CGO at the client side when a relay supports it

Diffstat:
Msrc/core/or/extendinfo.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/core/or/extendinfo.c b/src/core/or/extendinfo.c @@ -61,6 +61,11 @@ extend_info_new(const char *nickname, pv->supports_congestion_control; } + if (pv) { + // XXXX cgo Decide whether to set this! + info->enable_cgo = pv->supports_cgo; + } + return info; }