curl/lib/vtls
Stefan Eissing 4ae2d9f24d
proxy: http2 proxy tunnel implementation
- currently only on debug build and when env variable
  CURL_PROXY_TUNNEL_H2 is present.
- will ALPN negotiate with the proxy server and switch
  tunnel filter based on the protocol negotiated.
- http/1.1 tunnel code moved into cf-h1-proxy.[ch]
- http/2 tunnel code implemented in cf-h2-proxy.[ch]
- tunnel start and ALPN set remains in http_proxy.c
- moving all haproxy related code into cf-haproxy.[ch]

VTLS changes
- SSL filters rely solely on the "alpn" specification they
  are created with and no longer check conn->bits.tls_enable_alpn.
- checks on which ALPN specification to use (or none at all) are
  done in vtls.c when creating the filter.

Testing
- added a nghttpx forward proxy to the pytest setup that
  speaks HTTP/2 and forwards all requests to the Apache httpd
  forward proxy server.
- extending test coverage in test_10 cases
- adding proxy tests for direct/tunnel h1/h2 use of basic auth.
- adding test for http/1.1 and h2 proxy tunneling to pytest

Closes #10780
2023-04-06 13:04:46 +02:00
..
bearssl.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gskit.c gskit: various compile errors in OS400 2023-03-22 13:55:26 +01:00
gskit.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gtls.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
gtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostcheck.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls.c connections: introduce http/3 happy eyeballs 2023-02-02 09:57:34 +01:00
mbedtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
nss.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
nssg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
openssl.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
openssl.h ngtcp2: add CURLOPT_SSL_CTX_FUNCTION support for openssl+wolfssl 2023-01-10 13:41:21 +01:00
rustls.c rustls: fix error in recv handling 2023-03-31 16:05:15 +02:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel.c schannel: loop over the algos to pick the selected one 2023-03-03 23:26:41 +01:00
schannel.h cf-socket: improvements in socket I/O handling 2023-01-31 11:23:59 +01:00
schannel_verify.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
sectransp.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
vtls.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
vtls_int.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
wolfssl.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
wolfssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
x509asn1.c x509asn1: use plain %x, not %lx, when the arg is an int 2023-03-06 23:59:12 +01:00
x509asn1.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00