Родитель
3d089c41ea
Коммит
fb3180a024
|
@ -38,7 +38,7 @@ CURLcode Curl_trc_init(void);
|
|||
*
|
||||
* Configuration format supported:
|
||||
* - 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.
|
||||
* - component 'all' applies to all known log components
|
||||
* - prefixing a component with '+' or '-' will en-/disable logging for
|
||||
|
|
|
@ -163,7 +163,7 @@ static CURLcode start_req(struct h1_req_parser *parser,
|
|||
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)
|
||||
goto out;
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
#define H2_CHUNK_SIZE (16 * 1024)
|
||||
/* this is how much we want "in flight" for a stream */
|
||||
#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)
|
||||
/* on send into TLS, we just want to accumulate small frames */
|
||||
#define H2_NW_SEND_CHUNKS 1
|
||||
|
|
|
@ -109,7 +109,7 @@ sub scan_wrapper_for_strings {
|
|||
return @stringopts;
|
||||
}
|
||||
|
||||
# Get tranlatable string options from header file.
|
||||
# Get translatable string options from header file.
|
||||
my @stringdefs = scan_header("$incdir/curl.h");
|
||||
|
||||
# Get translated string options.
|
||||
|
|
|
@ -352,10 +352,10 @@ class TestDownload:
|
|||
assert r.duration > timedelta(seconds=4), \
|
||||
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
|
||||
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
|
||||
# it on these builds. Although we would certainly like to understand
|
||||
# why this happens.
|
||||
|
|
|
@ -105,7 +105,7 @@ class TestAuth:
|
|||
if proto == 'h3' and env.curl_uses_lib('quiche'):
|
||||
# See <https://github.com/cloudflare/quiche/issues/1573>
|
||||
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)
|
||||
fdata = os.path.join(env.gen_dir, 'data-10m')
|
||||
curl = CurlClient(env=env)
|
||||
|
|
Загрузка…
Ссылка в новой задаче