DescriptionFix WebSocketServer extension parser.
This CL makes the WebSocket server in net/server use the net/websockets
parser for parsing Sec-WebSocket-Extensions in the extension negotiation.
The new implementation validates the extension negotiation offer more
strictly than before. Specifically,
- Malformed Sec-WebSocket-Extensions header value causes connection failure.
- Previously it was just ignored.
- Malformed permessage-deflate parameters are declined.
- Previously part of such params were accepted partially.
BUG=523228
Committed: https://crrev.com/a10dd4ef5e42a54bea6ce71ef3f3d9f974dbb37e
Cr-Commit-Position: refs/heads/master@{#351040}
Patch Set 1 : #
Total comments: 4
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Patch Set 5 : #
Total comments: 15
Patch Set 6 : #
Total comments: 2
Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #Patch Set 10 : #Patch Set 11 : #
Total comments: 8
Patch Set 12 : #
Messages
Total messages: 38 (19 generated)
|