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

Issue 4132044: code review 4132044: netchan: graceful handling of closed connection

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by gmiller
Modified:
14 years, 11 months ago
Reviewers:
r
CC:
r, golang-dev, rog
Visibility:
Public.

Description

netchan: graceful handling of closed connection Currently, when an importer closes the connection, the exporter gives an error message 'netchan export: error decoding client header:EOF'. This change causes the exporter to look for an EOF during the parse of the header, and silences the log message in that case.

Patch Set 1 #

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

Patch Set 3 : diff -r b1638ab4d480 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/pkg/netchan/export.go View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 4
gmiller
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, rog), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 11 months ago (2011-02-06 22:21:32 UTC) #1
rsc
R=r
14 years, 11 months ago (2011-02-08 20:26:41 UTC) #2
r
LGTM
14 years, 11 months ago (2011-02-08 20:41:48 UTC) #3
r
14 years, 11 months ago (2011-02-08 20:42:34 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=9f1176d9f901 ***

netchan: graceful handling of closed connection
Currently, when an importer closes the connection, the exporter gives an
error message 'netchan export: error decoding client header:EOF'.  This
change causes the exporter to look for an EOF during the parse of the
header, and silences the log message in that case.

R=r
CC=golang-dev, rog
http://codereview.appspot.com/4132044

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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