Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0006339 |
[Resin] |
minor |
always |
04-06-20 03:10 |
06-16-20 16:21 |
|
Reporter |
samadams |
View Status |
public |
|
Assigned To |
ferg |
Priority |
normal |
Resolution |
fixed |
Platform |
|
Status |
closed |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
4.0.65 |
Product Version |
4.0.64 |
|
Product Build |
|
|
Summary |
0006339: Websocket sometimes sends duplicate first message |
Description |
I have a websocket server using resin that sends an incrementing sequence to a client, which the client then echos back.
We've found a strange issue - occasionally the first message being sent from the server gets duplicated.
I've added logging where we call WebSocketContext.startTextMessage() that shows we only write the message once, but a tcpdump shows that the server actually sent the message twice.
The attached code reproduces the issue. If you deploy the TestWebsocketServlet and leave the html page running for a few minutes it will detect the issue. |
Steps To Reproduce |
|
Additional Information |
|
|
Attached Files |
wstest.zip [^] (2,429 bytes) 04-06-20 03:10 |
|