Skip to content
Snippets Groups Projects
Commit c215bf1d authored by Adrien Béraud's avatar Adrien Béraud
Browse files

net: a pending request is a non-completed request

parent add1179b
No related branches found
No related tags found
No related merge requests found
......@@ -210,11 +210,9 @@ public:
and not completed;
}
bool pending(time_point now) const {
return not cancelled
and not completed
and reply_time < last_try
and now - last_try <= Node::MAX_RESPONSE_TIME;
bool pending(time_point /*now*/) const {
return not cancelled
and not completed;
}
void cancel() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment