Skip to content

Commit 68f283c

Browse files
authored
bind to loopback only (#476)
1 parent 164169a commit 68f283c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AsyncHTTPClientTests/HTTP2ClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class HTTP2ClientTests: XCTestCase {
357357
channel.close()
358358
}
359359
.childChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
360-
.bind(host: "0.0.0.0", port: serverPort)
360+
.bind(host: "127.0.0.1", port: serverPort)
361361
.wait())
362362
guard let server = maybeServer else { return }
363363
defer { XCTAssertNoThrow(try server.close().wait()) }

0 commit comments

Comments
 (0)