]> Cypherpunks repositories - gostls13.git/commit
netchan: graceful handling of closed connection
authorGraham Miller <graham.miller@gmail.com>
Tue, 8 Feb 2011 20:42:31 +0000 (12:42 -0800)
committerRob Pike <r@golang.org>
Tue, 8 Feb 2011 20:42:31 +0000 (12:42 -0800)
commit69334ee62ba8bdfd754e8c38eb6b90768e2d3807
treed853fe6a81c1c0ef0d1138470d3842f697db0760
parentb9183b986ad29266e686622ea7e93516fcfacf70
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
https://golang.org/cl/4132044
src/pkg/netchan/export.go