lsalzman / enet

ENet reliable UDP networking library
MIT License
2.71k stars 669 forks source link

fix RTO limit being exceeded during exponential backoff #160

Open cgutman opened 3 years ago

cgutman commented 3 years ago

This addresses the issue described in #159 by capping the RTO at outgoingCommand -> roundTripTimeoutLimit which takes into account the timeoutLimit parameter passed to enet_peer_timeout().

Fixes #159