danielga / gmsv_serversecure

A module for Garry's Mod that mitigates exploits on the Source engine.
https://github.com/danielga/gmsv_serversecure
Other
127 stars 31 forks source link

Fix Client always blocked and timeout'ed #64

Closed TIMONz1535 closed 3 years ago

TIMONz1535 commented 3 years ago

If Client has reached the GetMaxQueriesWindow it will always blocked except for the first request in the next window interval. It looks like the Client::TimedOut always returned true, because last_reset - time is < 0 and will overflows uint32_t.