]> Cypherpunks repositories - gostls13.git/commit
rpc: don't panic on write error.
authorRob Pike <r@golang.org>
Tue, 18 Oct 2011 22:52:49 +0000 (15:52 -0700)
committerRob Pike <r@golang.org>
Tue, 18 Oct 2011 22:52:49 +0000 (15:52 -0700)
commit4c56c30b78199c3313c1ee0042f0adcc685bae33
treee39dce6c031e10bd704fd6236f299c32e30ea1ba
parentfc3ce34903d5f86f398eda87ca6e334f483df604
rpc: don't panic on write error.
The mechanism to record the error in the call is already in place.
Fixes #2382.

R=golang-dev, dsymonds, bradfitz, r
CC=golang-dev
https://golang.org/cl/5307043
src/pkg/rpc/client.go
src/pkg/rpc/server_test.go