socketio / engine.io-client-java

Engine.IO Client Library for Java
http://socketio.github.io/engine.io-client-java
Other
360 stars 167 forks source link

Websocket connection closed with 1001 when high loading (1M messaging) #86

Closed jumperchen closed 7 years ago

jumperchen commented 7 years ago

We found that okhttp websocket client implementation is not stable when sending with 1M messages. (refer to this issue - https://github.com/square/okhttp/issues/3317) Other Java implementation seem to be more stable. Like Tyrus, NV-Websocket-Client).

So it would be better if you could provide a way to switch the Java client implementation.

b95505017 commented 7 years ago

Please checkout #85, you could implement your own WebSocket.Factory interface now.

jumperchen commented 7 years ago

Thanks, I will try with that mechanism. (I tested by hard code with NV-Websocket-Client, it works well without any issue :) )

jumperchen commented 7 years ago

@b95505017 Do you know about the schedule when the 0.8.4 version will be released? (about the fixed of #85)

b95505017 commented 7 years ago

I don't have the permission to release, must discuss with @nkzawa .