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.