Always use 127.0.0.1 on TLS tests outside of containers.
Resolving localhost can vary based on the local network configuration so it is safer to just use a static IP.
This was found while testing on Travis-CI arm64.
@@ -180,7 +180,7 @@ harnessTlsServerAbort(void)
/**********************************************************************************************************************************/
const String *harnessTlsTestHost(void)
{
- return strNew(testContainer() ? TLS_TEST_HOST : "localhost");
+ return strNew(testContainer() ? TLS_TEST_HOST : "127.0.0.1");
}
/**********************************************************************************************************************************/
