Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

No ACK timeout / Possible memory leak? #110

Open
pjfila opened this issue Oct 21, 2014 · 0 comments
Open

No ACK timeout / Possible memory leak? #110

pjfila opened this issue Oct 21, 2014 · 0 comments

Comments

@pjfila
Copy link

pjfila commented Oct 21, 2014

Hi,
when emitting a message to the server, there is ack listener stored in the IOConnection in the acknowledges map.
If the ACK never arrives the listener is never released. So thus an erroneous Socket.IO server might actually knock out the app.
Suggested solution is to implement a timeout for the ACK listeners.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant