socketio / socket.io

Realtime application framework (Node.JS server)
https://socket.io
MIT License
60.92k stars 10.09k forks source link

When I send a lot of data, the connection will breaks #5008

Open 17318584151 opened 4 months ago

17318584151 commented 4 months ago

The client is java implementation("io.socket:socket.io-client:1.0.2"); server is implementation("com.corundumstudio.socketio:netty-socketio:1.7.17")

When the size of concurrent data sent by the client reaches 20 MB, the socket connection is disconnected error message is: cause: [transport close] , no more meesage

socket.on(Socket.EVENT_DISCONNECT, args -> { LOGGER.info(" cause: {}", Arrays.toString(args)); });

17318584151 commented 4 months ago

The method used to send data is io.socket.client.Socket#emit(java.lang.String, java.lang.Object...)