mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
@@ -48,7 +48,7 @@ void HTTPSStreamFactoryTest::testNoRedirect()
|
||||
{
|
||||
HTTPSTestServer server;
|
||||
HTTPSStreamFactory factory;
|
||||
URI uri("https://localhost/large");
|
||||
URI uri("https://127.0.0.1/large");
|
||||
uri.setPort(server.port());
|
||||
std::auto_ptr<std::istream> pStr(factory.open(uri));
|
||||
std::ostringstream ostr;
|
||||
@@ -61,7 +61,7 @@ void HTTPSStreamFactoryTest::testEmptyPath()
|
||||
{
|
||||
HTTPSTestServer server;
|
||||
HTTPSStreamFactory factory;
|
||||
URI uri("https://localhost");
|
||||
URI uri("https://127.0.0.1");
|
||||
uri.setPort(server.port());
|
||||
std::auto_ptr<std::istream> pStr(factory.open(uri));
|
||||
std::ostringstream ostr;
|
||||
@@ -74,7 +74,7 @@ void HTTPSStreamFactoryTest::testRedirect()
|
||||
{
|
||||
HTTPSTestServer server;
|
||||
HTTPSStreamFactory factory;
|
||||
URI uri("https://localhost/redirect");
|
||||
URI uri("https://127.0.0.1/redirect");
|
||||
uri.setPort(server.port());
|
||||
std::auto_ptr<std::istream> pStr(factory.open(uri));
|
||||
std::ostringstream ostr;
|
||||
@@ -103,7 +103,7 @@ void HTTPSStreamFactoryTest::testError()
|
||||
{
|
||||
HTTPSTestServer server;
|
||||
HTTPSStreamFactory factory;
|
||||
URI uri("https://localhost/notfound");
|
||||
URI uri("https://127.0.0.1/notfound");
|
||||
uri.setPort(server.port());
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user