mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
aws-lc: do not use large buffer
test_10_08, uploading larger files for a h2 proxy, sporadically fails with a decrpytion error on received data in AWS-LC. The frequency can be increased by simulated network receive blocks. Not setting a 4 * TLS record sized buffer, leaving AWS-LC at its default buffer size seems to mitigate this problem.
This commit is contained in:
parent
63b7d8b8f4
commit
de2a081bd4
3 changed files with 8 additions and 4 deletions
|
|
@ -226,11 +226,11 @@ class TestProxy:
|
|||
extra_args=xargs)
|
||||
assert self.get_tunnel_proto_used(r) == tunnel
|
||||
r.check_response(count=count, http_status=200)
|
||||
assert r.total_connects == 1, r.dump_logs()
|
||||
indata = open(srcfile).readlines()
|
||||
for i in range(count):
|
||||
respdata = open(curl.response_file(i)).readlines()
|
||||
assert respdata == indata, f'response {i} differs'
|
||||
assert r.total_connects == 1, r.dump_logs()
|
||||
|
||||
@pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
|
||||
@pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue