misc: spellfixes
Closes #11730
diff --git a/lib/curl_trc.h b/lib/curl_trc.h
index b9ac4f1..84b5471 100644
--- a/lib/curl_trc.h
+++ b/lib/curl_trc.h
@@ -38,7 +38,7 @@
*
* 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
diff --git a/lib/http1.c b/lib/http1.c
index a442d3e..1ca7d41 100644
--- a/lib/http1.c
+++ b/lib/http1.c
@@ -163,7 +163,7 @@
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;
diff --git a/lib/http2.c b/lib/http2.c
index d1921a4..56d5d31 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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
diff --git a/tests/check-translatable-options.pl b/tests/check-translatable-options.pl
index 3830e5d..cd66963 100755
--- a/tests/check-translatable-options.pl
+++ b/tests/check-translatable-options.pl
@@ -109,7 +109,7 @@
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.
diff --git a/tests/http/test_02_download.py b/tests/http/test_02_download.py
index 42854f8..555f43a 100644
--- a/tests/http/test_02_download.py
+++ b/tests/http/test_02_download.py
@@ -352,10 +352,10 @@
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.
diff --git a/tests/http/test_14_auth.py b/tests/http/test_14_auth.py
index cbd2de7..a2fb48b 100644
--- a/tests/http/test_14_auth.py
+++ b/tests/http/test_14_auth.py
@@ -105,7 +105,7 @@
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)