Skip to content

Commit 1511afb

Browse files
committed
Fix endpoint construction from ipv6 authority.
1 parent 48e9de3 commit 1511afb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/endpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ endpoint::endpoint(const asio::endpoint& uri) NOEXCEPT
5555
}
5656

5757
endpoint::endpoint(const asio::address& ip, uint16_t port) NOEXCEPT
58-
: endpoint(config::to_host(ip), port)
58+
: endpoint(config::to_literal(ip), port)
5959
{
6060
}
6161

0 commit comments

Comments
 (0)