Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(65)

Issue 5233059: code review 5233059: websocket: tweak hybi ReadHandshake to supports Firefox... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by rpl
Modified:
13 years, 5 months ago
Reviewers:
CC:
golang-dev, ukai, cw, rsc
Visibility:
Public.

Description

websocket: tweak hybi ReadHandshake to supports Firefox implementation Firefox Websocket implementation send a "Connection: keep-alive, upgrade" header during the handshake (and as descripted on the last hybi draft the "Connection" header must include, but doesn't need to be equal to, "upgrade": '4. A "Connection" header field that includes the token "Upgrade", treated as an ASCII case-insensitive value.' From: http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#page-23

Patch Set 1 #

Patch Set 2 : diff -r 9c743824e7d6 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -1 line) Patch
M src/pkg/websocket/hybi.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/websocket/hybi_test.go View 1 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rpl
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, ukai@google.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-10-12 11:32:32 UTC) #1
ukai
LGTM
13 years, 5 months ago (2011-10-12 13:49:49 UTC) #2
cw
LGTM (tested with ff 7.0.1 and recent chrome)
13 years, 5 months ago (2011-10-12 21:17:22 UTC) #3
rsc
LGTM Thanks Luca. Please complete a CLA as described at http://golang.org/doc/contribute.html#copyright Russ
13 years, 5 months ago (2011-10-14 16:49:18 UTC) #4
rpl
CLA signed and submitted (email+pdf) Luca
13 years, 5 months ago (2011-10-14 17:13:52 UTC) #5
rsc
13 years, 5 months ago (2011-10-14 18:27:45 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=22e7ae0f52e3 ***

websocket: tweak hybi ReadHandshake to supports Firefox implementation

Firefox Websocket implementation send a "Connection: keep-alive, upgrade"
header during the handshake (and as descripted on the last hybi draft
the "Connection" header must include, but doesn't need to be equal to,
"upgrade":

   '4. A "Connection" header field that includes the token "Upgrade",
    treated as an ASCII case-insensitive value.'

From:
http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#page-23

R=golang-dev, ukai, cw, rsc
CC=golang-dev
http://codereview.appspot.com/5233059

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b