diff options
author | Gino Maisto <luigi.maisto@gmail.com> | 2016-03-19 16:05:48 +0100 |
---|---|---|
committer | Gino Maisto <luigi.maisto@gmail.com> | 2016-03-19 16:05:48 +0100 |
commit | 1b1210685efc252e5e9053cb75e8e8ade7dc4371 (patch) | |
tree | f8213332d7409de609e68d2e4e6b18f7c5f0bc6c /include/http_server.h | |
parent | e5d73b4c5303ae8a8a3fe027146f1dd35f9166f4 (diff) | |
download | crow-1b1210685efc252e5e9053cb75e8e8ade7dc4371.tar.gz crow-1b1210685efc252e5e9053cb75e8e8ade7dc4371.zip |
Bind to interface support: fixed unittest
Diffstat (limited to 'include/http_server.h')
-rw-r--r-- | include/http_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_server.h b/include/http_server.h index e751116..4696450 100644 --- a/include/http_server.h +++ b/include/http_server.h @@ -25,7 +25,7 @@ namespace crow class Server { public: - Server(Handler* handler, std::string bindaddr, uint16_t port, std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr) + Server(Handler* handler, std::string bindaddr, uint16_t port, std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr) : acceptor_(io_service_, tcp::endpoint(boost::asio::ip::address::from_string(bindaddr), port)), signals_(io_service_, SIGINT, SIGTERM), handler_(handler), |