Use address of www.wxwidgets.org instead of its name in HTTP URLs
The name resolves to Cloudflare proxy which redirects all HTTP URLs to HTTPS, which breaks the existing tests using HTTP, so prevent this from happening by using the actual IP address instead.
This commit is contained in:
@@ -436,7 +436,7 @@ static bool DoCheckConnection()
|
||||
wxSocketBase::Initialize();
|
||||
|
||||
wxIPV4address addr;
|
||||
if (!addr.Hostname(wxASCII_STR("www.wxwidgets.org")) || !addr.Service(wxASCII_STR("www")))
|
||||
if (!addr.Hostname(0xadfe5c16) || !addr.Service(wxASCII_STR("www")))
|
||||
{
|
||||
wxSocketBase::Shutdown();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user