Closed Bug 660157 Opened 13 years ago Closed 13 years ago

WebSocket DeflateStream Problem

Categories

(Core :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gurkan.erdogdu, Unassigned)

Details

User-Agent:       Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Build Identifier: Aurora-5.0a2

I have been using Aurora 5.0a2 for experimenting the WebSocket. When Firefox send websocket request with Sec-WebSocket-Extensions=deflate-stream, it sends the deflated packet that also contains trailers 00 00 ff ff at the end of the stream. Maybe ZLIB adds extra bytes after flushing the stream. This corrupts the server side inflate process.

Reproducible: Always

Steps to Reproduce:
1.Send websocket request with extension enabled
2.Parse the socket stream
3.See 00 00 ff ff trailers at the end of every deflated stream


Expected Results:  
No trailers
I think this is the Java 6 Inflater Problem.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.