Skip to content

Commit f82ecf2

Browse files
Merge pull request #214 from thecodefactory/allow-bind
Allow configured hostname for HTTP socket services
2 parents 608c029 + 89379ac commit f82ecf2

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)