[PATCH 0/1] Limit client version advertisements
- From
Josh Steadmon <steadmon@google.com>
- Date
- Oct 2, 2018, 21:59 UTC
- Message-ID
- <cover.1538516853.git.steadmon@google.com>
As discussed in [1], clients will incorrectly advertise support for protocol version 2 even when the service in question does not have a v2 implementation. This patch sets maximum protocol versions for git-receive-pack, git-upload-archive, and git-upload-pack.
[1]: https://public-inbox.org/git/20180927012455.234876-1-steadmon@google.com/
Josh Steadmon (1): protocol: limit max protocol version per service
connect.c | 11 ++++------- protocol.c | 13 +++++++++++++ protocol.h | 7 +++++++ remote-curl.c | 11 ++++------- 4 files changed, 28 insertions(+), 14 deletions(-)
-- 2.19.0.605.g01d371f741-goog