dhtproxy: fix cancelListen & rm duplicated logging

This commit is contained in:
Seva committed 2019-07-12 15:59:51 -04:00
1 parent 846f495202
commit a6e57d95d6
4 files changed
+68 -64

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ DhtProxyServer::DhtProxyServer(std::shared_ptr<DhtRunner> dht, in_port_t port,
// build http client
auto pushHostPort = splitPort(pushServer_);
httpClient_.reset(new http::Client(httpServer_->io_context(),
pushHostPort.first, pushHostPort.second, logger_));
pushHostPort.first, pushHostPort.second));
// run http server
httpServerThread_ = std::thread([this](){
try {