summaryrefslogtreecommitdiff
path: root/http/http_server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http_server.hpp')
-rw-r--r--http/http_server.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http_server.hpp b/http/http_server.hpp
index b290ad7902..2a6bd9f4aa 100644
--- a/http/http_server.hpp
+++ b/http/http_server.hpp
@@ -38,14 +38,14 @@ class Server
adaptorCtx(std::move(adaptorCtxIn))
{}
- Server(Handler* handlerIn, const std::string& bindaddr, uint16_t port,
+ Server(Handler* handlerIn, uint16_t port,
const std::shared_ptr<boost::asio::ssl::context>& adaptorCtxIn,
const std::shared_ptr<boost::asio::io_context>& io =
std::make_shared<boost::asio::io_context>()) :
Server(handlerIn,
std::make_unique<boost::asio::ip::tcp::acceptor>(
*io, boost::asio::ip::tcp::endpoint(
- boost::asio::ip::make_address(bindaddr), port)),
+ boost::asio::ip::make_address("0.0.0.0"), port)),
adaptorCtxIn, io)
{}