Skip to content
Snippets Groups Projects
Commit af5e0c89 authored by Simon Désaulniers's avatar Simon Désaulniers Committed by Adrien Béraud
Browse files

node: remove expired flag when a node reaches us

parent 5a7c8753
Branches
Tags
No related merge requests found
......@@ -83,9 +83,9 @@ void
Node::received(time_point now, std::shared_ptr<net::Request> req)
{
time = now;
expired_ = false;
if (req) {
reply_time = now;
expired_ = false;
for (auto it = requests_.begin(); it != requests_.end();) {
auto r = it->lock();
if (not r or r == req)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment