remote-curl: implement stateless-connect command
authorBrandon Williams <bmwill@google.com>
Wed, 7 Feb 2018 01:13:11 +0000 (17:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2018 19:53:07 +0000 (11:53 -0800)
commit3264e8f8831ffcb70c1dd1be680f071f262d414b
treea48949a0d700dc74f75fe1465a5290f547f38803
parentcea4749b4bb441942db8868c6098707b7742e1bb
remote-curl: implement stateless-connect command

Teach remote-curl the 'stateless-connect' command which is used to
establish a stateless connection with servers which support protocol
version 2.  This allows remote-curl to act as a proxy, allowing the git
client to communicate natively with a remote end, simply using
remote-curl as a pass through to convert requests to http.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c
t/t5702-protocol-v2.sh