[PATCH v2 0/2] log negotiated protocol version.
- From
Josh Steadmon <steadmon@google.com>
- Date
- Aug 4, 2021, 22:17 UTC
- Message-ID
- <cover.1628115064.git.steadmon@google.com>
- In-Reply-To
- <f79ab95af6da3da710da2112cfcae4a042b7f7fb.1628020616.git.steadmon@google.com>
This series adds logging of the negotiated wire protocol via trace2 on both client and server.
Changes in V2: * adds a format_protocol_version() helper function * adds tests * bug fix: actually log on the server side, rather than twice on the client * moves the trace statement closer to the actual version negotiation code
Josh Steadmon (2): protocol: add protocol version formatting function connect, protocol: log negotiated protocol version
connect.c | 3 +++ protocol.c | 17 +++++++++++++++++ protocol.h | 6 ++++++ t/t5705-session-id-in-capabilities.sh | 12 ++++++++++++ 4 files changed, 38 insertions(+)
-- 2.32.0.554.ge1b32706d8-goog