https://bz.apache.org/bugzilla/show_bug.cgi?id=60523
Bug ID: 60523
Summary: Reduce number of network packets that server sends to
client via WebSocket connection
Product: Tomcat 9
Version: 9.0.0.M15
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: WebSocket
Assignee: dev@tomcat.apache.org
Reporter: iv_koval...@mail.ru
Target Milestone: -
Created attachment 34559
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34559&action=edit
Patch for WsRemoteEndpointImplBase.java
I am using Tomcat 9 and Spring.
My web application has a websocket service.
My application sends binary messages to client using sendMessage of:
org.springframework.web.socket.WebSocketSession.
I collected tcp packets by wireshark. I see that every binary websocket message
uses at least 2 TCP packets.
The first packet is the header, it is small.
There is patch for WsRemoteEndpointImplBase.java from version 9.0.0.M15 in
attachement, it
creates one packet from header and tail if it's size not more than 65536 bytes.
--
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org