mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
OpenSSL/quictls: add support for TLSv1.3 early data
based on #16450 Adds support for TLSv1.3 early data for TCP and QUIC via ngtcp2. Closes #16477
This commit is contained in:
parent
b5d99a5474
commit
0d3b5937b3
12 changed files with 308 additions and 69 deletions
|
|
@ -703,9 +703,10 @@ class TestUpload:
|
|||
# of 128K.
|
||||
])
|
||||
def test_07_70_put_earlydata(self, env: Env, httpd, nghttpx, proto, upload_size, exp_early):
|
||||
if not env.curl_uses_lib('gnutls') and not env.curl_uses_lib('wolfssl'):
|
||||
pytest.skip('TLS earlydata only implemented in GnuTLS/wolfSSL')
|
||||
if proto == 'h3' and not env.have_h3():
|
||||
if not env.curl_can_early_data():
|
||||
pytest.skip('TLS earlydata not implemented')
|
||||
if proto == 'h3' and \
|
||||
(not env.have_h3() or not env.curl_can_h3_early_data()):
|
||||
pytest.skip("h3 not supported")
|
||||
count = 2
|
||||
# we want this test to always connect to nghttpx, since it is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue