Update daybreak_connection.cpp

This commit is contained in:
Chris Miles 2025-05-17 22:29:11 -05:00
parent fdb7a7c8df
commit c3f1d1a95e

View File

@ -1127,6 +1127,13 @@ void EQ::Net::DaybreakConnection::ProcessResend(int stream)
auto time_since_first_sent = std::chrono::duration_cast<std::chrono::milliseconds>(now - first_packet.first_sent).count();
if (time_since_first_sent >= m_owner->m_options.resend_timeout) {
LogNetClient(
"Closing connection time_since_first_sent [{}] >= m_owner->m_options.resend_timeout [{}] now [{}] first_packet.first_sent [{}]",
time_since_first_sent,
m_owner->m_options.resend_timeout,
now,
first_packet.first_sent
);
Close();
return;
}