mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-08 02:32:21 +00:00
Update daybreak_connection.cpp
This commit is contained in:
parent
fdb7a7c8df
commit
c3f1d1a95e
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user