RESOLVED FIXED 81655
[WebSocket]The Sec-WebSocket-Accept MUST NOT appear more than once in an HTTP response
https://bugs.webkit.org/show_bug.cgi?id=81655
Summary [WebSocket]The Sec-WebSocket-Accept MUST NOT appear more than once in an HTTP...
Li Yin
Reported 2012-03-20 05:55:18 PDT
From RFC 6455 http://tools.ietf.org/html/rfc6455#section-11.3.3 The |Sec-WebSocket-Accept| header MUST NOT appear more than once in an HTTP response.
Attachments
Patch (6.48 KB, patch)
2012-03-20 06:36 PDT, Li Yin
no flags
Patch (6.54 KB, patch)
2012-03-20 17:24 PDT, Li Yin
no flags
Li Yin
Comment 1 2012-03-20 06:36:22 PDT
Alexey Proskuryakov
Comment 2 2012-03-20 09:55:50 PDT
Comment on attachment 132813 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132813&action=review > Source/WebCore/Modules/websockets/WebSocketHandshake.cpp:578 > + bool hasAcceptValue = false; "Accept" is also an HTTP header, so this variable is named confusingly. I suggest something like "sawSecWebSocketAcceptHeaderField".
Li Yin
Comment 3 2012-03-20 17:24:52 PDT
Li Yin
Comment 4 2012-03-20 17:26:38 PDT
(In reply to comment #2) > (From update of attachment 132813 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=132813&action=review > > > Source/WebCore/Modules/websockets/WebSocketHandshake.cpp:578 > > + bool hasAcceptValue = false; > > "Accept" is also an HTTP header, so this variable is named confusingly. I suggest something like "sawSecWebSocketAcceptHeaderField". Thanks for your review, the patch has been updated already, please review again.
WebKit Review Bot
Comment 5 2012-03-21 09:46:59 PDT
Comment on attachment 132940 [details] Patch Clearing flags on attachment: 132940 Committed r111554: <http://trac.webkit.org/changeset/111554>
WebKit Review Bot
Comment 6 2012-03-21 09:47:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.