Gottox / socket.io-java-client

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

No ACK timeout / Possible memory leak? #110

Open pjfila opened 9 years ago

pjfila commented 9 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.