net/rpc: fix data race on Call.Error
+eliminates a possibility of sending a call to Done several times. +fixes memory leak in case of temporal Write errors. +fixes data race on Client.shutdown. +fixes data race on Client.closing. +fixes comments. Fixes #2780. R=r, rsc CC=golang-dev, mpimenov https://golang.org/cl/5571063
Showing
Please
register
or
sign in
to comment