mbox series

[v2,0/2] log negotiated protocol version.

Message ID cover.1628115064.git.steadmon@google.com (mailing list archive)
Headers show
Series log negotiated protocol version. | expand

Message

Josh Steadmon Aug. 4, 2021, 10:17 p.m. UTC
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(+)