WebSocket DeflateStream Problem

RESOLVED INVALID

Status

()

Core
General
RESOLVED INVALID
7 years ago
6 years ago

People

(Reporter: Gurkan Erdogdu, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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
(Reporter)

Comment 1

7 years ago
I think this is the Java 6 Inflater Problem.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.