]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Enable CGO at the client side when a relay supports it
authorNick Mathewson <nickm@torproject.org>
Mon, 2 Jun 2025 20:37:02 +0000 (16:37 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 10 Jun 2025 23:06:47 +0000 (19:06 -0400)
src/core/or/extendinfo.c

index 6954335cc2fd5854a534a74ccb891267ee0300bc..458b2afd33c3ba08cf251e3e28fba8feb65b48cb 100644 (file)
@@ -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;
 }