Mantis Bugtracker
  

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

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-06-20 03:10 samadams New Issue
04-06-20 03:10 samadams File Added: wstest.zip
04-06-20 09:07 samadams Issue Monitored: samadams
06-16-20 16:21 ferg Assigned To  => ferg
06-16-20 16:21 ferg Status new => closed
06-16-20 16:21 ferg Resolution open => fixed
06-16-20 16:21 ferg Fixed in Version  => 4.0.65


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker