b00ae8eec1ef0aa5094fca7fad918a437603eb12
Clearing the buffer upon timeout could lead to: ``` java.util.ConcurrentModificationException at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892) at io.socket.client.Socket$6$1.run(Socket.java:232) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506) ``` Related: - https://github.com/socketio/socket.io-client-java/issues/710 - https://github.com/socketio/socket.io-client-java/issues/727 - https://github.com/socketio/socket.io-client-java/pull/758 - https://github.com/socketio/socket.io-client-java/issues/759
Socket.IO-client Java
This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client.
See also:
Table of content
Compatibility
| Client version | Socket.IO server |
|---|---|
| 0.9.x | 1.x |
| 1.x | 2.x |
| 2.x | 3.x / 4.x |
Documentation
The documentation can be found here.
The source of this documentation is in the src/site/ directory of the repository. Pull requests are welcome!
License
MIT
Languages
Java
97.8%
JavaScript
2%
Makefile
0.2%