Merge pull request #11082

7e0c68b p2p: don't reset timeout timer for handshakes (j-berman)

ACKs: jpk68, selsta, vtnerd
This commit is contained in:
tobtoht
2026-08-17 17:25:42 +00:00
@@ -269,6 +269,8 @@ public:
}
virtual bool reset_timer(bool first) override final
{
if (m_command == connection_context::handshake_command() && !first)
return true;
std::shared_ptr<anvoke_handler> self;
if (!m_cancel_timer_called && (self = this->weak_from_this().lock()) && (first || m_timer.cancel() > 0))
{