Skip to content

Commit 3cc6dd0

Browse files
committed
Bind TLS test server to Localhost
1 parent 1a8fba6 commit 3cc6dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/jsoup/integration/TestServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private static void addHttpsConnector(File keystoreFile, Server server) {
177177
server,
178178
new SslConnectionFactory(sslContextFactory, HttpVersion.HTTP_1_1.asString()),
179179
new HttpConnectionFactory(httpsConfig));
180+
sslConnector.setHost(Localhost);
180181
server.addConnector(sslConnector);
181182
}
182183

0 commit comments

Comments
 (0)