]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: spellfixes
authorJohn Bampton <jbampton@gmail.com>
Fri, 25 Aug 2023 09:42:38 +0000 (19:42 +1000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Aug 2023 11:21:07 +0000 (13:21 +0200)
Closes #11730

lib/curl_trc.h
lib/http1.c
lib/http2.c
tests/check-translatable-options.pl
tests/http/test_02_download.py
tests/http/test_14_auth.py

index b9ac4f12793e1165c8f02c27571d8f62c2684a83..84b5471d859500fa4543e0073ad0e6b5cfdba399 100644 (file)
@@ -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
index a442d3eaa8320adf13e3ccab66e2fd9b617383c3..1ca7d41e8a2d323955d4970dd133480fa32121d8 100644 (file)
@@ -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;
 
index d1921a4a69ba48cdf154de3636e4cecabbdc1883..56d5d31fe4ee35e20e35d87aaf0ac165f1723b1e 100644 (file)
@@ -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
index 3830e5d6e15be1483c6ed590f8e36abb5d0b3547..cd669636056aa599941a522b1e1e0ff88ed6aaa5 100755 (executable)
@@ -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.
index 42854f8bd82cd0a40ca24081389fcb2727612ddc..555f43a545ceb9653f78638a402039909c26f592 100644 (file)
@@ -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.
index cbd2de70b3feab97aee5fbb82978229d09ac3f73..a2fb48ba63ad94ae47b42e8842d767ad475b15ab 100644 (file)
@@ -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)