From: Nick Mathewson Date: Mon, 2 Jun 2025 20:37:02 +0000 (-0400) Subject: Enable CGO at the client side when a relay supports it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7534fa527baf1eb491a8805479c78c14a5c9e21;p=thirdparty%2Ftor.git Enable CGO at the client side when a relay supports it --- diff --git a/src/core/or/extendinfo.c b/src/core/or/extendinfo.c index 6954335cc2..458b2afd33 100644 --- 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; }