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

Issue 196044: code review 196044: Regularize the comments for the websocket package and d... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 6 months ago by r
Modified:
15 years, 6 months ago
Reviewers:
ukai
CC:
rsc, golang-dev
Visibility:
Public.

Description

Regularize the comments for the websocket package and document all functions and methods.

Patch Set 1 #

Total comments: 5

Patch Set 2 : code review 196044: Regularize the comments for the websocket package and d... #

Total comments: 4

Patch Set 3 : code review 196044: Regularize the comments for the websocket package and d... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -57 lines) Patch
M src/pkg/websocket/client.go View 1 chunk +25 lines, -25 lines 0 comments Download
M src/pkg/websocket/server.go View 1 2 1 chunk +26 lines, -24 lines 0 comments Download
M src/pkg/websocket/websocket.go View 1 2 7 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 6
r
Hello rsc, ukai@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 6 months ago (2010-01-28 03:48:40 UTC) #1
rsc1
LGTM http://codereview.appspot.com/196044/diff/1/3 File src/pkg/websocket/server.go (right): http://codereview.appspot.com/196044/diff/1/3#newcode22 src/pkg/websocket/server.go:22: ) looks like a one-space indent. is that ...
15 years, 6 months ago (2010-01-28 03:53:00 UTC) #2
ukai
LGTM. Thanks for the fix. http://codereview.appspot.com/196044/diff/8/1004 File src/pkg/websocket/websocket.go (right): http://codereview.appspot.com/196044/diff/8/1004#newcode114 src/pkg/websocket/websocket.go:114: // Write implements the ...
15 years, 6 months ago (2010-01-28 04:36:08 UTC) #3
r
*** Submitted as http://code.google.com/p/go/source/detail?r=e7b839fc365d *** Regularize the comments for the websocket package and document all ...
15 years, 6 months ago (2010-01-28 04:38:36 UTC) #4
r
> Anyway, I'm thinking LocalAddr()/RemoteAddr() should be fixed as follows: > In client, local address ...
15 years, 6 months ago (2010-01-28 04:39:10 UTC) #5
ukai
15 years, 6 months ago (2010-01-28 04:41:07 UTC) #6
On 2010/01/28 04:39:10, r wrote:
> > Anyway, I'm thinking LocalAddr()/RemoteAddr() should be fixed as follows:
> > In client, local address is WebSocket-origin, and remote address is
> > WebSocket-location.
> > In server, local address is WebSocket-location, and remote address is
> > WebSocket-origin.
> 
> i'll leave this to you. this was a semantics-free change list.

Ok, I'll create a change to fix it.
Sign in to reply to this message.

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