Skip to content

Commit

Permalink
handshake: add previous disconnect reason (#36)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Klein <[email protected]>
  • Loading branch information
mattklein123 authored Dec 7, 2024
1 parent aa7a25c commit 72ab67b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bitdrift_public/protobuf/client/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ message HandshakeRequest {
// with all the opaque types it cares about (keyed by its type url) along side the active version nonce
// or empty string if there is no active configuration.
map<string, string> opqaue_version_nonces = 5;

// Reports the reason, if any, that the client was previously disconnected from the server. This
// is useful for debugging reconnect loops.
string previous_disconnect_reason = 6;
}

// A configuration update using a opaque configuration type. This wraps an Any, allowing us to send
Expand Down

0 comments on commit 72ab67b

Please sign in to comment.