-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworking the timers in transport_polling
The current way of handling timeouts is risky with regards to user calls able to mess with the timeouts and get things out of sync with the client side. This fix replaces the timeouts coming from the gen_server behaviour with the erlang timer BIFs, likely safer and independent of the messages received. The timeouts having to do with a connection being closed are still handled the old way.
- Loading branch information
Showing
1 changed file
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters