boulder/grpc
Roland Bracewell Shoemaker a7cd4fb2c7 Don't wrap errors we return from boulder/grpc/creds.ClientHandshake (#2590)
The gRPC client reconnect code needs to be able to check if a error is temporary so that it can decide if it should attempt to reconnect or just fail and kill the client[1]. By wrapping the error we were receiving in our TLS handshake code we were removing the existing `Temporary` interface on the error. This meant that if a client attempted to reconnect to a server that was in the process of being shutdown, the client would consider that server permanently dead and never retry.

Fix is simple: don't wrap errors that we pass back into the gRPC internals so that they can be properly inspected.

[1]: aefc96d792/clientconn.go (L783)
2017-03-01 11:27:03 -08:00
..
creds Don't wrap errors we return from boulder/grpc/creds.ClientHandshake (#2590) 2017-03-01 11:27:03 -08:00
test_proto Generate GRPC objects with Go 1.8. 2017-02-21 12:11:17 +01:00
balancer.go Allow gRPC clients to connect to multiple backends (#1918) 2016-06-15 16:50:56 -07:00
balancer_test.go Allow gRPC clients to connect to multiple backends (#1918) 2016-06-15 16:50:56 -07:00
bcodes.go Pass nil errors through boulder/grpc wrapError/unwrapError (#2544) 2017-02-06 18:19:39 -08:00
bcodes_test.go Pass nil errors through boulder/grpc wrapError/unwrapError (#2544) 2017-02-06 18:19:39 -08:00
ca-wrappers.go Split out separate RPC services for issuing and for signing OCSP (#2452) 2017-01-05 15:08:39 -08:00
client.go Add some timing histogram stats (#2482) 2017-01-10 11:02:41 -08:00
errors_test.go Allow probs.ProblemDetails to be passed across gRPC layer (#2506) 2017-01-19 14:59:44 -08:00
interceptors.go Move error wrapping/unwrapping into the interceptors (#2556) 2017-02-13 12:56:23 -05:00
interceptors_test.go Disable fail-fast for gRPC. (#2397) (#2434) 2016-12-15 12:52:34 -08:00
pb-marshalling.go Encode challenge errors and validation records when handling protobufs (#2520) 2017-01-25 09:39:35 -05:00
pb-marshalling_test.go Encode challenge errors and validation records when handling protobufs (#2520) 2017-01-25 09:39:35 -05:00
publisher-wrappers.go Move error wrapping/unwrapping into the interceptors (#2556) 2017-02-13 12:56:23 -05:00
ra-wrappers.go Move error wrapping/unwrapping into the interceptors (#2556) 2017-02-13 12:56:23 -05:00
sa-wrappers.go Move error wrapping/unwrapping into the interceptors (#2556) 2017-02-13 12:56:23 -05:00
server.go Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
va-wrappers.go Split grpc/wrappers.go into several files (#2392) 2016-12-06 15:45:31 -08:00