lib: fix typos

Closes https://github.com/curl/curl/pull/10307
This commit is contained in:
Sergey Bronnikov 2023-01-16 19:49:57 +03:00 committed by Jay Satiro
parent de07d804fb
commit 11708d6f00
5 changed files with 9 additions and 9 deletions

View file

@ -67,7 +67,7 @@ class TestGoAway:
r.check_responses(count=count, exp_status=200)
assert len(r.stats) == count, f'{r.stats}'
# reload will shut down the connection gracefully with GOAWAY
# we expect to see a second connetion opened afterwards
# we expect to see a second connection opened afterwards
assert r.total_connects == 2
for idx, s in enumerate(r.stats):
if s['num_connects'] > 0:
@ -102,7 +102,7 @@ class TestGoAway:
r.check_responses(count=count, exp_status=200)
assert len(r.stats) == count, f'{r.stats}'
# reload will shut down the connection gracefully with GOAWAY
# we expect to see a second connetion opened afterwards
# we expect to see a second connection opened afterwards
assert r.total_connects == 2
for idx, s in enumerate(r.stats):
if s['num_connects'] > 0:

View file

@ -54,7 +54,7 @@ class TestStuttered:
r.check_responses(count=1, exp_status=200)
# download 50 files in 100 chunks a 100 bytes with 10ms delay between
# prepend 100 file requests to warm up connection procesing limits
# prepend 100 file requests to warm up connection processing limits
# (Apache2 increases # of parallel processed requests after successes)
@pytest.mark.parametrize("proto", ['h2', 'h3'])
def test_04_02_100_100_10(self, env: Env,
@ -78,7 +78,7 @@ class TestStuttered:
f'avg time of transfer: {t_avg} [{i_min}={t_min}, {i_max}={t_max}]'
# download 50 files in 1000 chunks a 10 bytes with 1ms delay between
# prepend 100 file requests to warm up connection procesing limits
# prepend 100 file requests to warm up connection processing limits
# (Apache2 increases # of parallel processed requests after successes)
@pytest.mark.parametrize("proto", ['h2', 'h3'])
def test_04_03_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto):
@ -101,7 +101,7 @@ class TestStuttered:
f'avg time of transfer: {t_avg} [{i_min}={t_min}, {i_max}={t_max}]'
# download 50 files in 10000 chunks a 1 byte with 10us delay between
# prepend 100 file requests to warm up connection procesing limits
# prepend 100 file requests to warm up connection processing limits
# (Apache2 increases # of parallel processed requests after successes)
@pytest.mark.parametrize("proto", ['h2', 'h3'])
def test_04_04_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto):