only issue deferred utp acks before timeout checks in pump

pull/719/head
Jeff Becker 5 years ago
parent d465400840
commit cdf02eae6e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -200,6 +200,7 @@ namespace llarp
#ifdef __linux__ #ifdef __linux__
ProcessICMP(); ProcessICMP();
#endif #endif
utp_issue_deferred_acks(_utp_ctx);
std::set< RouterID > sessions; std::set< RouterID > sessions;
{ {
Lock l(&m_AuthedLinksMutex); Lock l(&m_AuthedLinksMutex);
@ -222,7 +223,6 @@ namespace llarp
} }
} }
} }
utp_issue_deferred_acks(_utp_ctx);
} }
void void
@ -282,7 +282,6 @@ namespace llarp
return 0; return 0;
} }
utp_read_drained(arg->socket); utp_read_drained(arg->socket);
utp_issue_deferred_acks(arg->context);
} }
else else
{ {

Loading…
Cancel
Save