Networking: don't enable TFO if server doesn't support it

This commit is contained in:
Carter Li
2025-03-18 10:20:23 +08:00
committed by 李通洲
parent 3489cc8fe8
commit 8851821484
4 changed files with 54 additions and 25 deletions
+1
View File
@@ -21,6 +21,7 @@ void ffPreparePublicIp(FFPublicIpOptions* options)
if (options->url.length == 0)
{
state->compression = true;
state->tfo = true;
*status = ffNetworkingSendHttpRequest(state, options->ipv6 ? "v6.ipinfo.io" : "ipinfo.io", "/json", NULL);
}
else