mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
proxy server: add missing listener type
This commit is contained in:
1 parent
19ccc3a327
commit
e3cd2a9d02
1 file changed
+1
@@ -832,6 +832,7 @@ DhtProxyServer::subscribe(restinio::request_handle_t request,
|
||||
// Expiration
|
||||
auto timeout = std::chrono::steady_clock::now() + proxy::OP_TIMEOUT;
|
||||
listener.expiration = timeout;
|
||||
listener.type = type;
|
||||
if (listener.expireNotifyTimer)
|
||||
listener.expireNotifyTimer->expires_at(timeout - proxy::OP_MARGIN);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user