mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Networking: don't enable TFO if server doesn't support it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user