Gottox / socket.io-java-client

Socket.IO Client Implementation in Java
MIT License
950 stars 387 forks source link

No ACK timeout / Possible memory leak? #110

Open pjfila opened 10 years ago

pjfila commented 10 years ago

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.