storj/pkg/rpc
Jeff Wendling 64e43e555e pkg/rpc: return context error if ready after DialContext fails
the net package does not make it easy to know if DialContext
failed because the context was done. it's important for some
of our tests that canceled contexts are detected as such, so
we accept the small race that's arguably correct (the context
must be canceled asynchronously) to ensure we always return
the context error if available.

Change-Id: I058064d5c666e5353b74fb5bd300bf7abe537ff5
2019-10-04 20:09:00 +00:00
..
rpcpeer all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
rpcstatus pkg/rpc/rpcstatus: Fix return type (#3162) 2019-10-02 14:46:18 -06:00
common_drpc.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
common_grpc.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
common.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
compat_drpc.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
compat_grpc.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
conn.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
dial_drpc.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
dial_grpc.go pkg/rpc: add WithInsecure when doing non-tls dials 2019-09-27 09:07:14 -06:00
dial.go pkg/rpc: return context error if ready after DialContext fails 2019-10-04 20:09:00 +00:00
gen.go pkg/rpc: build tag based selection of rpc details 2019-09-20 21:07:33 +00:00
rpc_test.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00