open-consul/agent/grpc-external
Luke Kysow a8721c33c5
peerstream: dialer should reconnect when stream closes (#13745)
* peerstream: dialer should reconnect when stream closes

If the stream is closed unexpectedly (i.e. when we haven't received
a terminated message), the dialer should attempt to re-establish the
stream.

Previously, the `HandleStream` would return `nil` when the stream
was closed. The caller then assumed the stream was terminated on purpose
and so didn't reconnect when instead it was stopped unexpectedly and
the dialer should have attempted to reconnect.
2022-07-15 11:58:33 -07:00
..
services peerstream: dialer should reconnect when stream closes (#13745) 2022-07-15 11:58:33 -07:00
testutils grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
forward.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
server.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
token.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
utils.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00