mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dht: let Dht::inserNode set SearchNode reply time
This commit is contained in:
1 parent
ba5953bc6b
commit
d5f67e97d0
3 files changed
+5
-8
No files matched your search
@@ -140,7 +140,8 @@ NetworkEngine::processMessage(const uint8_t *buf, size_t buflen, const sockaddr
|
||||
if (msg.error_code == DhtProtocolException::UNAUTHORIZED
|
||||
&& msg.id != zeroes
|
||||
&& (msg.tid.matches(TransPrefix::ANNOUNCE_VALUES, &ttid)
|
||||
|| msg.tid.matches(TransPrefix::LISTEN, &ttid))) {
|
||||
|| msg.tid.matches(TransPrefix::LISTEN, &ttid)))
|
||||
{
|
||||
req->status->last_try = TIME_INVALID;
|
||||
req->status->reply_time = TIME_INVALID;
|
||||
onError(req->status, DhtProtocolException {DhtProtocolException::UNAUTHORIZED});
|
||||
|
||||
Reference in new issue
Block a user