diff options
author | Jeff King <peff@peff.net> | 2023-02-23 06:07:29 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-23 13:01:17 -0800 |
commit | 86190028a813786bb8f92a93ab07b44ac5f005a1 (patch) | |
tree | c0e2b34c34e437d0739abf8023ddc854bcc59054 /builtin/commit.c | |
parent | 3c14419c6b2747fa0c60d8d63e5ff59b58327de3 (diff) |
t5559: fix test failures with LIB_HTTPD_SSL
One test needs to be tweaked in order for t5559 to pass with SSL/TLS set
up. When we make our initial clone, we check that the curl trace of
requests is what we expected. But we need to fix two things:
- along with ignoring "data" lines from the trace, we need to ignore
"SSL data" lines
- when TLS is used, the server is able to tell the client (via ALPN)
that it supports HTTP/2 before the first HTTP request is made. So
rather than request an upgrade using an HTTP header, it can just
speak HTTP/2 immediately
With this patch, running:
LIB_HTTPD_SSL=1 ./t5559-http-fetch-smart-http2.sh
works, whereas it did not before.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions