Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005394 [Resin] minor always 03-13-13 11:46 04-16-13 10:52
Reporter cowan View Status public  
Assigned To ferg
Priority high Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.36 Product Version 4.0.35
  Product Build
Summary 0005394: java.lang.IllegalStateException in WebSocketOutputStream.fillHeader
Description When writing a large amount of data, WebSocketOutputStream.write(data, 0, data.length) throws java.lang.IllegalStateException.

java.lang.IllegalStateException
       at com.caucho.remote.websocket.WebSocketOutputStream.fillHeader(WebSocketOutputStream.java:236)
       at com.caucho.remote.websocket.WebSocketOutputStream.write(WebSocketOutputStream.java:125)
       at java.io.OutputStream.write(OutputStream.java:75)
       at java_io_OutputStream$write.call(Unknown Source)
Steps To Reproduce
Additional Information Rep by S. Zachariadis
Attached Files

- Relationships

- Notes
(0006221)
cowan
03-15-13 08:21

hmtp/11e1
 
(0006222)
cowan
03-15-13 08:25

WebSocketOutputStream.write is using 0x10000 as max message size but it should be 0xffff. With this fix outpstream writes the multi-part message properly, but there still seems to be a bug in the inputstream. It appears to do only a single read of size less than 0xffff, despite the header indicating there are more than 0xffff bytes to read.
 

- Issue History
Date Modified Username Field Change
03-13-13 11:46 cowan New Issue
03-14-13 03:19 stefanos Issue Monitored: stefanos
03-15-13 08:21 cowan Note Added: 0006221
03-15-13 08:25 cowan Note Added: 0006222
04-16-13 10:52 ferg Assigned To  => ferg
04-16-13 10:52 ferg Status new => closed
04-16-13 10:52 ferg Resolution open => fixed
04-16-13 10:52 ferg Fixed in Version  => 4.0.36


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