Skip to content

Commit 89379ac

Browse files
Allow configured hostname for HTTP socket services, primarily for
public facing servers. Instead of failing to bind, warn that all interfaces will be bound on the configured port.
1 parent 608c029 commit 89379ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/web/manager.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ bool manager::bind(const config::endpoint& address, const bind_options& options)
104104
{
105105
if (address.host() != "*")
106106
{
107-
LOG_INFO(LOG_PROTOCOL_HTTP)
108-
<< "Failed to bind to named host (unsupported): " << address;
109-
return false;
107+
LOG_WARNING(LOG_PROTOCOL_HTTP)
108+
<< "Detected named host, but binding to '*': " << address;
110109
}
111110

112111
port_ = address.port();

0 commit comments

Comments
 (0)