]> Cypherpunks repositories - gostls13.git/commit
handle errors better:
authorRob Pike <r@golang.org>
Wed, 15 Jul 2009 18:47:29 +0000 (11:47 -0700)
committerRob Pike <r@golang.org>
Wed, 15 Jul 2009 18:47:29 +0000 (11:47 -0700)
commit8071cdf724c285118772be0b3e10197581e77720
tree58895a1a1f376ec374029b7944f52315049c2246
parentaa1e8064b211acfe96364da1de28deae3398a217
handle errors better:
1) terminate outstanding calls on the client when we see EOF from server
2) allow data to drain on server before closing the connection

R=rsc
DELTA=41  (23 added, 4 deleted, 14 changed)
OCL=31687
CL=31689
src/pkg/rpc/client.go
src/pkg/rpc/server.go