remote-curl: implement stateless-connect command
commit0f1dc53f45d307c8342bf547d79695b614cf9c26
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:41 +0000 (15 10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:09 +0000 (15 12:01 -0700)
tree6f0ffad8f537b07c25119df2def87235e98259ae
parent237ffedd46098a5b8a303cfbac7ecb0ff3a8a7a7
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