Closes #11730
This commit is contained in:
John Bampton 2023-08-25 19:42:38 +10:00 коммит произвёл Daniel Stenberg
Родитель 3d089c41ea
Коммит fb3180a024
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
6 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -38,7 +38,7 @@ CURLcode Curl_trc_init(void);
* *
* Configuration format supported: * Configuration format supported:
* - comma-separated list of component names to enable logging on. * - comma-separated list of component names to enable logging on.
* E.g. 'http/2,ssl'. Unkown names are ignored. Names are compared * E.g. 'http/2,ssl'. Unknown names are ignored. Names are compared
* case-insensitive. * case-insensitive.
* - component 'all' applies to all known log components * - component 'all' applies to all known log components
* - prefixing a component with '+' or '-' will en-/disable logging for * - prefixing a component with '+' or '-' will en-/disable logging for

Просмотреть файл

@ -163,7 +163,7 @@ static CURLcode start_req(struct h1_req_parser *parser,
break; break;
} }
} }
/* no SPACE found or empty TARGET or empy HTTP_VERSION */ /* no SPACE found or empty TARGET or empty HTTP_VERSION */
if(!target_len || !hv_len) if(!target_len || !hv_len)
goto out; goto out;

Просмотреть файл

@ -69,7 +69,7 @@
#define H2_CHUNK_SIZE (16 * 1024) #define H2_CHUNK_SIZE (16 * 1024)
/* this is how much we want "in flight" for a stream */ /* this is how much we want "in flight" for a stream */
#define H2_STREAM_WINDOW_SIZE (10 * 1024 * 1024) #define H2_STREAM_WINDOW_SIZE (10 * 1024 * 1024)
/* on receving from TLS, we prep for holding a full stream window */ /* on receiving from TLS, we prep for holding a full stream window */
#define H2_NW_RECV_CHUNKS (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE) #define H2_NW_RECV_CHUNKS (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE)
/* on send into TLS, we just want to accumulate small frames */ /* on send into TLS, we just want to accumulate small frames */
#define H2_NW_SEND_CHUNKS 1 #define H2_NW_SEND_CHUNKS 1

Просмотреть файл

@ -109,7 +109,7 @@ sub scan_wrapper_for_strings {
return @stringopts; return @stringopts;
} }
# Get tranlatable string options from header file. # Get translatable string options from header file.
my @stringdefs = scan_header("$incdir/curl.h"); my @stringdefs = scan_header("$incdir/curl.h");
# Get translated string options. # Get translated string options.

Просмотреть файл

@ -352,10 +352,10 @@ class TestDownload:
assert r.duration > timedelta(seconds=4), \ assert r.duration > timedelta(seconds=4), \
f'rate limited transfer should take more than 4s, not {r.duration}' f'rate limited transfer should take more than 4s, not {r.duration}'
# make extreme paralllel h2 upgrades, check invalid conn reuse # make extreme parallel h2 upgrades, check invalid conn reuse
# before protocol switch has happened # before protocol switch has happened
def test_02_25_h2_upgrade_x(self, env: Env, httpd, repeat): def test_02_25_h2_upgrade_x(self, env: Env, httpd, repeat):
# not locally reproducable timeouts with certain SSL libs # not locally reproducible timeouts with certain SSL libs
# Since this test is about connection reuse handling, we skip # Since this test is about connection reuse handling, we skip
# it on these builds. Although we would certainly like to understand # it on these builds. Although we would certainly like to understand
# why this happens. # why this happens.

Просмотреть файл

@ -105,7 +105,7 @@ class TestAuth:
if proto == 'h3' and env.curl_uses_lib('quiche'): if proto == 'h3' and env.curl_uses_lib('quiche'):
# See <https://github.com/cloudflare/quiche/issues/1573> # See <https://github.com/cloudflare/quiche/issues/1573>
pytest.skip("quiche has problems with large requests") pytest.skip("quiche has problems with large requests")
# just large enought that nghttp2 will submit # just large enough that nghttp2 will submit
password = 'x' * (47 * 1024) password = 'x' * (47 * 1024)
fdata = os.path.join(env.gen_dir, 'data-10m') fdata = os.path.join(env.gen_dir, 'data-10m')
curl = CurlClient(env=env) curl = CurlClient(env=env)