mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtproxy: fix cancelListen & rm duplicated logging
This commit is contained in:
1 parent
846f495202
commit
a6e57d95d6
4 files changed
+68
-64
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user