]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: fix typos and spelling in comments and documentation
authorIlia Shipitsin <chipitsine@gmail.com>
Sun, 29 Mar 2026 17:22:19 +0000 (19:22 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 30 Mar 2026 07:24:19 +0000 (09:24 +0200)
Corrected multiple spelling mistakes across CLI scripts, documentation,
and source comments (e.g. "Specifiy" → "Specify", "explicitely" → "explicitly",
"transfert" → "transfer", "resetted" → "reset", etc.). These changes
improve readability and consistency without altering functionality.

28 files changed:
admin/cli/haproxy-dump-certs
dev/patchbot/README
doc/configuration.txt
doc/haterm.txt
doc/internals/notes-polling.txt
doc/management.txt
include/haproxy/htx.h
include/haproxy/proxy-t.h
include/haproxy/ssl_sock-t.h
include/import/xxhash.h
src/backend.c
src/cfgparse-ssl.c
src/chunk.c
src/cli.c
src/haproxy.c
src/haterm.c
src/haterm_init.c
src/http_ana.c
src/http_fetch.c
src/http_htx.c
src/htx.c
src/jwe.c
src/mux_h2.c
src/proxy.c
src/quic_ssl.c
src/stick_table.c
src/stream.c
src/tcpcheck.c

index 59a507711220ac23dcc60e23ae6fa052fe40bc4f..e15bb66d11f23b65df3c1bfa7a65b35e0368bbfd 100755 (executable)
@@ -149,7 +149,7 @@ usage() {
        echo "Options:"
        echo "  -S, --master-socket <path>   Use the master socket at <path> (default: ${SOCKET})"
        echo "  -s, --socket <path>          Use the stats socket at <path>"
-       echo "  -p, --path <path>            Specifiy a base path for relative files (default: ${BASEPATH})"
+       echo "  -p, --path <path>            Specify a base path for relative files (default: ${BASEPATH})"
        echo "  -n, --dry-run                Read certificates on the socket but don't dump them"
        echo "  -d, --debug                  Debug mode, set -x"
        echo "  -v, --verbose                Verbose mode"
index a645cc3047921ae975af129a0864ee7320a61cc9..4a7ef0e999ce53426e19242f851cbf90c329840b 100644 (file)
@@ -86,7 +86,7 @@ maintenance model and what the user wants is passed, then the LLM is invited to
 provide its opinion on the need for a backport and an explanation of the reason
 for its choice. This often helps the user to find a quick summary about the
 patch. All these outputs are then converted to a long HTML page with colors and
-radio buttons, where patches are pre-selected based on this classification,
+radio buttons, where patches are preselected based on this classification,
 that the user can consult and adjust, read the commits if needed, and the
 selected patches finally provide some copy-pastable commands in a text-area to
 select commit IDs to work on, typically in a form that's suitable for a simple
index cf9363193f4d86e6be1934415f71c43b4cfffda7..0386827f1aa6de5987d74f62966b3cc913cc4a62 100644 (file)
@@ -5441,7 +5441,7 @@ tune.ssl.certificate-compression { auto | off }
 
   When set to "auto" it uses the default value of the TLS library.
 
-  With "off" it tries to explicitely disable the support of the feature.
+  With "off" it tries to explicitly disable the support of the feature.
   HAProxy won't try to send compressed certificates anymore nor accept
   compressed certificates.
 
@@ -7275,7 +7275,7 @@ default_backend <backend>
   used when no rule has matched. It generally is the dynamic backend which
   will catch all undetermined requests.
 
-  If a backend is disabled or unpublished, default_backend rules targetting it
+  If a backend is disabled or unpublished, default_backend rules targeting it
   will be ignored and stream processing will remain on the original proxy.
 
   Example :
@@ -11926,7 +11926,7 @@ option use-small-buffers [ queue | l7-retries | check ]*
   May be used in sections :   defaults | frontend | listen | backend
                                  yes   |    no    |   yes  |   yes
 
-  This option can be used to enable the small buffers support at diffent places
+  This option can be used to enable the small buffers support at different places
   to save memory. By default, with no parameter, small buffers are used as far
   as possible at all possible places. Otherwise, it is possible to limit it to
   following the places:
@@ -11939,7 +11939,7 @@ option use-small-buffers [ queue | l7-retries | check ]*
                  requests.
 
   When enabled, small buffers are used, but only if it is possible. Otherwise,
-  when data are too large, a regular buffer is automtically used. The size of
+  when data are too large, a regular buffer is automatically used. The size of
   small buffers is configurable via the "tune.bufsize.small" global setting.
 
   If this option has been enabled in a "defaults" section, it can be disabled
@@ -21630,7 +21630,7 @@ jwt_decrypt_cert(<cert>)
   decrypted thanks to the certificate provided.
   The <cert> parameter must be a path to an already loaded certificate (that
   can be dumped via the "dump ssl cert" CLI command). The certificate must have
-  its "jwt" option explicitely set to "on" (see "jwt" crt-list option). It can
+  its "jwt" option explicitly set to "on" (see "jwt" crt-list option). It can
   be provided directly or via a variable.
   The only tokens managed yet are the ones using the Compact Serialization
   format (five dot-separated base64-url encoded strings).
@@ -30060,7 +30060,7 @@ Enables filter that explicitly tries to compress HTTP responses according to
 
 filter compression (deprecated)
 
-Alias for backward compatibility purposes that is functionnally equivalent to
+Alias for backward compatibility purposes that is functionally equivalent to
 enabling both "comp-req" and "comp-res" filter. "compression" keyword must be
 used to configure appropriate behavior:
 
@@ -31443,9 +31443,9 @@ user <username> [password|insecure-password <password>]
   slower than their glibc counterparts when calculating hashes, so you might
   want to consider this aspect too.
 
-  All passwords are considered normal arguments and are therefor subject to
+  All passwords are considered normal arguments and are therefore subject to
   regular section 2.2 Quoting and escaping. Single quoting passwords is
-  therefor recommended.
+  therefore recommended.
 
   Example:
         userlist L1
index c0a42ef7948f75ee35fbd41fea8aedb879a2ac13..6096b52b017d2d9c940581581b4d448d32b37d5f 100644 (file)
@@ -134,7 +134,7 @@ HATerm:
      - /?R=<enable>      Enable sending random data if >0.
 
     Note that those arguments may be cumulated on one line separated by a set of
-    delimitors among [&?,;/] :
+    delimiters among [&?,;/] :
      -  GET /?s=20k&c=1&t=700&K=30r HTTP/1.0
      -  GET /?r=500?s=0?c=0?t=1000 HTTP/1.0
 
index e7741a668827ef212c79e65c26fc397f838f5ed3..0c29308cce6838b28808c43ab35f1080ae791b15 100644 (file)
@@ -114,7 +114,7 @@ SHUT RDY ACT
   1   1   1   => shut pending
 
 PB: we can land into final shut if one thread disables the FD while another
-    one that was waiting on it reports it as shut. Theorically it should be
+    one that was waiting on it reports it as shut. Theoretically it should be
     implicitly ready though, since reported. But if no data is reported, it
     will be reportedly shut only. And no event will be reported then. This
     might still make sense since it's not active, thus we don't want events.
index bdd52b4cc7abc67a5d4395abb42163660a55e5ef..e1ae99ca62236d6707ac40d1ca57981c36ac818e 100644 (file)
@@ -1731,7 +1731,7 @@ add backend <name> from <defproxy> [mode <mode>] [guid <guid>] [ EXPERIMENTAL ]
   Only TCP or HTTP proxies can be created. All of the settings are inherited
   from <defproxy> default proxy instance. By default, it is mandatory to
   specify the backend mode via the argument of the same name, unless <defproxy>
-  already defines it explicitely. It is also possible to use an optional GUID
+  already defines it explicitly. It is also possible to use an optional GUID
   argument if wanted.
 
   Servers can be added via the command "add server". The backend is initialized
@@ -2130,7 +2130,7 @@ del backend <name>
   be attached to the backend instance.
 
   There is additional restrictions which prevent backend removal. First, a
-  backend cannot be removed if it is explicitely referenced by config elements,
+  backend cannot be removed if it is explicitly referenced by config elements,
   for example via a use_backend rule or in sample expressions. Some proxies
   options are also incompatible with runtime deletion. Currently, this is the
   case when deprecated dispatch or option transparent are used. Also, a backend
@@ -2138,7 +2138,7 @@ del backend <name>
   impossible for now to remove a backend if QUIC servers were present in it.
 
   It can be useful to use "wait be-removable" prior to this command to check
-  for the aformentioned requisites. This also provides a methode to wait for
+  for the aforementioned requisites. This also provides a method to wait for
   the final closure of the streams attached to the target backend.
 
   This command is restricted and can only be issued on sockets configured for
index deeacd0a93954b36d83af3dfe15f0c39a800a126..1b720980d01bfcc30e71d4e772eac77d4abc0bc5 100644 (file)
@@ -65,7 +65,7 @@ struct buffer *htx_copy_to_large_buffer(struct buffer *dst, struct buffer *src);
 #define HTX_XFER_DEFAULT           0x00000000 /* Default XFER: no partial xfer / remove blocks from source */
 #define HTX_XFER_KEEP_SRC_BLKS     0x00000001 /* Don't remove xfer blocks from source messages during xfer */
 #define HTX_XFER_PARTIAL_HDRS_COPY 0x00000002 /* Allow partial copy of headers and trailers part */
-#define HTX_XFER_HDRS_ONLY         0x00000003 /* Only Transfert header blocks (start-line, header and EOH) */
+#define HTX_XFER_HDRS_ONLY         0x00000003 /* Only Transfer header blocks (start-line, header and EOH) */
 size_t htx_xfer(struct htx *dst, struct htx *src, size_t count, unsigned int flags);
 
 /* Functions and macros to get parts of the start-line or length of these
index 07ef037daf60fc1bdeb9681f9305b7c8fd56365f..e4422b2e799c1851e89ba8c85788928187e48817 100644 (file)
@@ -244,12 +244,12 @@ enum PR_SRV_STATE_FILE {
 /* Proxy flags */
 #define PR_FL_DISABLED           0x00000001  /* The proxy was disabled in the configuration (not at runtime) */
 #define PR_FL_STOPPED            0x00000002  /* The proxy was stopped */
-#define PR_FL_DEF_EXPLICIT_MODE  0x00000004  /* Proxy mode is explicitely defined - only used for defaults instance */
+#define PR_FL_DEF_EXPLICIT_MODE  0x00000004  /* Proxy mode is explicitly defined - only used for defaults instance */
 #define PR_FL_EXPLICIT_REF       0x00000008  /* The default proxy is explicitly referenced by another proxy */
 #define PR_FL_IMPLICIT_REF       0x00000010  /* The default proxy is implicitly referenced by another proxy */
 #define PR_FL_PAUSED             0x00000020  /* The proxy was paused at run time (reversible) */
 #define PR_FL_CHECKED            0x00000040  /* The proxy configuration was fully checked (including postparsing checks) */
-#define PR_FL_BE_UNPUBLISHED     0x00000080  /* The proxy cannot be targetted by content switching rules */
+#define PR_FL_BE_UNPUBLISHED     0x00000080  /* The proxy cannot be targeted by content switching rules */
 #define PR_FL_DELETED            0x00000100  /* Proxy has been deleted and must be manipulated with care */
 #define PR_FL_NON_PURGEABLE      0x00000200  /* Proxy referenced by config elements which prevent its runtime removal. */
 
index 8b18e8241d0eef563db7b6f18fd948784092ac9f..6af6dea9f9f584b0200ee608e5487f96a980d799 100644 (file)
@@ -339,7 +339,7 @@ struct global_ssl {
        char **passphrase_cmd;
        int passphrase_cmd_args_cnt;
 
-       unsigned int certificate_compression:1; /* allow to explicitely disable certificate compression */
+       unsigned int certificate_compression:1; /* allow to explicitly disable certificate compression */
 };
 
 /* The order here matters for picking a default context,
index 7c3c3fcbabbb05341b525558a8773090a2813d36..1b0a3cab069507ce8a98d9fc7cef4719785edfec 100644 (file)
@@ -1587,7 +1587,7 @@ struct XXH3_state_s {
 
 
 /*!
- * simple alias to pre-selected XXH3_128bits variant
+ * simple alias to preselected XXH3_128bits variant
  */
 XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH128(XXH_NOESCAPE const void* data, size_t len, XXH64_hash_t seed);
 
index 46eba155db8618f46eded069068522df7484acc2..64781d5f320a79a95457003bb091a9e3dc622377 100644 (file)
@@ -2067,7 +2067,7 @@ int connect_server(struct stream *s)
                         * available.
                         *
                         * This check must be performed before conn_prepare()
-                        * to ensure consistency accross the whole stack, in
+                        * to ensure consistency across the whole stack, in
                         * particular for QUIC between quic-conn and mux layer.
                         */
                        if (IS_HTX_STRM(s) && srv->use_ssl &&
@@ -3063,7 +3063,7 @@ int be_downtime(struct proxy *px) {
 
 /* Checks if <px> backend supports the addition of servers at runtime. Either a
  * backend or a defaults proxy are supported. If proxy is incompatible, <msg>
- * will be allocated to contain a textual explaination.
+ * will be allocated to contain a textual explanation.
  */
 int be_supports_dynamic_srv(struct proxy *px, char **msg)
 {
index b4f551179728a1c65230103a8c0216082517fc10..95759ff4085a1da5bf62f3ab607a77bd09f34bb4 100644 (file)
@@ -521,7 +521,7 @@ static int ssl_parse_global_keylog(char **args, int section_type, struct proxy *
 }
 #endif
 
-/* Allow to explicitely disable certificate compression when set to "off" */
+/* Allow to explicitly disable certificate compression when set to "off" */
 #ifdef SSL_OP_NO_RX_CERTIFICATE_COMPRESSION
 static int ssl_parse_certificate_compression(char **args, int section_type, struct proxy *curpx,
                                              const struct proxy *defpx, const char *file, int line,
index 34ddbae51fa2af74d94ad62ad4bced40419c3288..639c7315733c0ed39d76dbc4a01b2550033621d2 100644 (file)
@@ -96,7 +96,7 @@ struct buffer *get_trash_chunk(void)
 }
 
 /* Similar to get_trash_chunk() but return a pre-allocated large chunk
- * instead. Becasuse large buffers are not enabled by default, this function may
+ * instead. Because large buffers are not enabled by default, this function may
  * return NULL.
  */
 struct buffer *get_large_trash_chunk(void)
@@ -120,7 +120,7 @@ struct buffer *get_large_trash_chunk(void)
 }
 
 /* Similar to get_trash_chunk() but return a pre-allocated small chunk
- * instead. Becasuse small buffers are not enabled by default, this function may
+ * instead. Because small buffers are not enabled by default, this function may
  * return NULL.
  */
 struct buffer *get_small_trash_chunk(void)
index 73958dec09506989d27a1a5fb6a942acd0bbb2a4..8191eb09b6e1a65ec46596834c5d2b409d8b3453 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -2670,7 +2670,7 @@ static int _send_status(char **args, char *payload, struct appctx *appctx, void
        }
 
        /* the sockpair between the master and the worker is
-        * used temporarly as a listener to receive
+        * used temporarily as a listener to receive
         * _send_status. Once it is received we don't want to
         * use this FD as a listener anymore, but only as a
         * server, to allow only connections from the master to
index 6bc8df85d69a5b0c05d73976cbbed9501510d180..2145cbadf4087f8fecf312671875bfed88d8bae8 100644 (file)
@@ -2822,7 +2822,7 @@ void deinit(void)
         * they are respectively cleaned up in sink_deinit() and deinit_log_forward()
         */
 
-       /* If named defaults were preserved, ensure <def_ref> count is resetted. */
+       /* If named defaults were preserved, ensure <def_ref> count is reset. */
        if (!(global.tune.options & GTUNE_PURGE_DEFAULTS))
                defaults_px_unref_all();
 
index 908a471c4facbd7718c8d01d878c25436d9ddaec..c2e112b29d37e998b65bd27d520ba6c7b1429344 100644 (file)
@@ -47,7 +47,7 @@ const char *HTTP_HELP =
         " - /?R=<enable>      Enable sending random data if >0.\n"
         "\n"
         "Note that those arguments may be cumulated on one line separated by a set of\n"
-        "delimitors among [&?,;/] :\n"
+        "delimiters among [&?,;/] :\n"
         " -  GET /?s=20k&c=1&t=700&K=30r HTTP/1.0\n"
         " -  GET /?r=500?s=0?c=0?t=1000 HTTP/1.0\n"
         "\n";
@@ -323,7 +323,7 @@ static int hstream_htx_buf_snd(struct connection *conn, struct hstream *hs)
        }
 
        /* The HTX data are not fully sent if the last HTX data
-        * were not fully transfered or if there are remaining data
+        * were not fully transferred or if there are remaining data
         * to send (->to_write > 0).
         */
        if (!htx_is_empty(htxbuf(&hs->res))) {
@@ -1025,7 +1025,7 @@ static int hstream_build_responses(void)
 
        /* original haterm chunk mode responses are made of 1-byte chunks
         * but the haproxy muxes do not support this. At this time
-        * these reponses are handled the same way as for common
+        * these responses are handled the same way as for common
         * responses with a pre-built buffer.
         */
        for (i = 0; i < sizeof(common_chunk_resp); i++)
@@ -1033,7 +1033,7 @@ static int hstream_build_responses(void)
 
        random_resp = malloc(random_resp_len);
        if (!random_resp) {
-               ha_alert("not enough memore...\n");
+               ha_alert("not enough memory...\n");
                return -1;
        }
 
index 65baad54fa70bbc606ba9c4fff14aca24b6ea3f2..2a7cb3897e65145d8e1438058f51df27862e1b75 100644 (file)
@@ -106,7 +106,7 @@ static inline size_t hbuf_is_null(const struct hbuf *h)
 
 /* Simple function, to append <line> to <b> without without
  * trailing '\0' character.
- * Take into an account the '\t' and '\n' escaped sequeces.
+ * Take into an account the '\t' and '\n' escaped sequences.
  */
 static void hstream_str_buf_append(struct hbuf *h, const char *line)
 {
@@ -215,7 +215,7 @@ void haproxy_init_args(int argc, char **argv)
                argc--; argv++;
        }
 
-       /* Restore the argumenst */
+       /* Restore the arguments */
        argc = sargc; argv = sargv;
        while (argc > 0) {
                char *opt;
index 8a00d5b794d0d3ca64374b9afd3332e9225d62df..ee33d5c08e2af87d46cbdac160a35d49c5525ccb 100644 (file)
@@ -4734,7 +4734,7 @@ int http_forward_proxy_resp(struct stream *s, int final)
                if (s->txn->meth == HTTP_METH_HEAD)
                        htx_skip_msg_payload(htx);
 
-               /* Respnse from haproxy, override HTTP response verison using the request one */
+               /* Response from haproxy, override HTTP response version using the request one */
                s->txn->rsp.vsn = s->txn->req.vsn;
 
                channel_auto_read(req);
index 8ce9a38e51be44a176e76ea46c6f7a71a2721f74..c4aceaf3b7802d44a7dd089819df6ef9fde7ca35 100644 (file)
@@ -44,7 +44,7 @@
 /* this struct is used between calls to smp_fetch_hdr() or smp_fetch_cookie() */
 static THREAD_LOCAL struct http_hdr_ctx static_http_hdr_ctx;
 /* this is used to convert raw connection buffers to htx */
-/* NOTE: For now, raw bufers cannot exceeds the standard size */
+/* NOTE: For now, raw buffers cannot exceeds the standard size */
 static THREAD_LOCAL struct buffer static_raw_htx_chunk;
 static THREAD_LOCAL char *static_raw_htx_buf;
 
index bd550be9839bdad431c3b8080ab701234b03656e..d2885ca613c2bece591a23c8be6b48ac5e60c873 100644 (file)
@@ -2262,7 +2262,7 @@ static int proxy_parse_http_error(char **args, int section, struct proxy *curpx,
 }
 
 /* Converts <conf_errors> initialized during config parsing for <px> proxy.
- * Each one of them is transfromed in a http_reply type, stored in proxy
+ * Each one of them is transformed in a http_reply type, stored in proxy
  * replies array member. The original <conf_errors> becomes unneeded and is
  * thus removed and freed.
  */
index 8c0ea966a16e94fafc7cf6ce5d28846bc597b204..e5cbc80dcabc1c28cfdbeb96acb8029a5e6cc1e3 100644 (file)
--- a/src/htx.c
+++ b/src/htx.c
@@ -806,7 +806,7 @@ size_t htx_xfer(struct htx *dst, struct htx *src, size_t count, unsigned int fla
         * block in <dst>. So have:
         *   - <blk> == NULL: everything was copied. <last_dstblk> must be NULL
         *   - <blk> != NULL && <last_dstblk> == NULL: partial copy but the last block was fully copied
-        *   - <blk> != NULL && <last_dstblk> != NULL: partial copy and the last block was patially copied (DATA block only)
+        *   - <blk> != NULL && <last_dstblk> != NULL: partial copy and the last block was partially copied (DATA block only)
         */
        if (!(flags & HTX_XFER_PARTIAL_HDRS_COPY)) {
                /* Partial headers/trailers copy is not supported */
@@ -862,7 +862,7 @@ size_t htx_xfer(struct htx *dst, struct htx *src, size_t count, unsigned int fla
                }
        }
 
-       /* Everything was copied, transfert terminal HTX flags too */
+       /* Everything was copied, transfer terminal HTX flags too */
        if (!blk) {
                dst->flags |= (src->flags & (HTX_FL_EOM|HTX_FL_PARSING_ERROR|HTX_FL_PROCESSING_ERROR));
                src->flags = 0;
@@ -1337,7 +1337,7 @@ int htx_append_msg(struct htx *dst, const struct htx *src)
 }
 
 
-/* If possible, trasnfer HTX blocks from <src> to a small buffer. This function
+/* If possible, transfer HTX blocks from <src> to a small buffer. This function
  * allocate the small buffer and makes <dst> point on it. If <dst> is not empty
  * or if <src> contains to many data, NULL is returned. If the allocation
  * failed, NULL is returned. Otherwise <dst> is returned.  <flags> instructs how
@@ -1357,7 +1357,7 @@ struct buffer *__htx_xfer_to_small_buffer(struct buffer *dst, struct buffer *src
        return dst;
 }
 
-/* If possible, trasnfer HTX blocks from <src> to a large buffer. This function
+/* If possible, transfer HTX blocks from <src> to a large buffer. This function
  * allocate the small buffer and makes <dst> point on it. If <dst> is not empty
  * or if <src> contains to many data, NULL is returned. If the allocation
  * failed, NULL is returned. Otherwise <dst> is returned.  <flags> instructs how
index a04baa45dfd501b4e0ce5da1a75e0920679eba3e..2cf4a7adcdfc35ee7460f2d98fafcfb47bfff31c 100644 (file)
--- a/src/jwe.c
+++ b/src/jwe.c
@@ -424,7 +424,7 @@ end:
  * the one found in the JWE token.
  * The tag is built out of a HMAC of some concatenated data taken from the JWE
  * token (see https://datatracker.ietf.org/doc/html/rfc7518#section-5.2). The
- * firest half of the previously decrypted cek is used as HMAC key.
+ * first half of the previously decrypted cek is used as HMAC key.
  * Returns 0 in case of success, 1 otherwise.
  */
 static int build_and_check_tag(jwe_enc enc,  struct jwt_item items[JWE_ELT_MAX],
@@ -602,7 +602,7 @@ static inline void clear_decoded_items(struct buffer *decoded_items[JWE_ELT_MAX]
 /*
  * Decrypt the contents of a JWE token thanks to the user-provided base64
  * encoded secret. This converter can only be used for tokens that have a
- * symetric algorithm (AESKW, AESGCMKW or "dir" special case).
+ * symmetric algorithm (AESKW, AESGCMKW or "dir" special case).
  * Returns the decrypted contents, or nothing if any error happened.
  */
 static int sample_conv_jwt_decrypt_secret(const struct arg *args, struct sample *smp, void *private)
@@ -1096,7 +1096,7 @@ end:
 /*
  * Decrypt the contents of a JWE token thanks to the user-provided certificate
  * and private key. This converter can only be used for tokens that have an
- * asymetric algorithm (RSA only for now).
+ * asymmetric algorithm (RSA only for now).
  * Returns the decrypted contents, or nothing if any error happened.
  */
 static int sample_conv_jwt_decrypt_cert(const struct arg *args, struct sample *smp, void *private)
@@ -1173,7 +1173,7 @@ static int sample_conv_jwt_decrypt_cert(const struct arg *args, struct sample *s
        /* With ECDH-ES no CEK will be provided. */
        if (!ec || alg != JWE_ALG_ECDH_ES) {
 
-               /* With asymetric crypto algorithms we should always have a CEK */
+               /* With asymmetric crypto algorithms we should always have a CEK */
                if (!items[JWE_ELT_CEK].length)
                        goto end;
 
index 113f6861275c707fa15375367ac8d870f7c358d1..d4d8f32758290f7e30648c185fec85cdf370d8d5 100644 (file)
@@ -4645,7 +4645,7 @@ static void h2_process_demux(struct h2c *h2c)
 
                /* If more frames remain in the buffer, let's first check if we've
                 * depleted the frames processing budget. Consuming the RST budget
-                * makes the tasklet go to TL_BULK to make it less prioritary than
+                * makes the tasklet go to TL_BULK to make it less priority than
                 * other processing since it's often used by attacks, while other
                 * frame types just yield normally.
                 */
index 203f2ac09a60dbf7fb7a5811b7ac630539f96d16..515b291f3ce168b4354cd4d660218fd62e9c895a 100644 (file)
@@ -4916,7 +4916,7 @@ static int cli_parse_add_backend(char **args, char *payload, struct appctx *appc
                return 1;
        }
        if (!(defpx->flags & PR_FL_DEF_EXPLICIT_MODE) && !mode) {
-               cli_dynerr(appctx, memprintf(&msg, "Mode is required as '%s' default proxy does not explicitely defines it.\n", def_name));
+               cli_dynerr(appctx, memprintf(&msg, "Mode is required as '%s' default proxy does not explicitly defines it.\n", def_name));
                return 1;
        }
        if (defpx->mode != PR_MODE_TCP && defpx->mode != PR_MODE_HTTP) {
index b24d9b11baf386a724ac728e65b7eb72e94863c4..f3f0d9afdc8ce866d08591919ea71ea43693e34e 100644 (file)
@@ -1363,7 +1363,7 @@ int qc_alloc_ssl_sock_ctx(struct quic_conn *qc, void *target)
                        /* This code is called by connect_server() by way of
                         * conn_prepare().
                         * XXX TODO XXX: there is a remaining race condition where
-                        * the negotiated alpn could be resetted before running this code
+                        * the negotiated alpn could be reset before running this code
                         * here. In this case the app_ops for the mux will not be
                         * set by quic_reuse_srv_params().
                         *
index c36a91b9d23d0aa2bd7fd8ff5e356933402c9ee9..db55a543b31b66d108b68af1ba2e08fbf86875c9 100644 (file)
@@ -6313,7 +6313,7 @@ static int stk_promex_metric_info(unsigned int id, struct promex_metric *metric,
                        break;
                case STICKTABLE_LOCAL_UPDATES:
                        *metric = (struct promex_metric){ .n = ist("local_updates"), .type = PROMEX_MT_GAUGE, .flags = PROMEX_FL_MODULE_METRIC };
-                       *desc = ist("Cumulative number of updates on the stick table initiated by the local process. Please note that this value will eventually wrap after 4294967295 since it is stored using unsigned int (uint32). As this metric is often used to compute the update rate of a given table between two queries, wrapping must be taken into account and the time between 2 queries must not exceed the theorical time needed for this value to wrap.");
+                       *desc = ist("Cumulative number of updates on the stick table initiated by the local process. Please note that this value will eventually wrap after 4294967295 since it is stored using unsigned int (uint32). As this metric is often used to compute the update rate of a given table between two queries, wrapping must be taken into account and the time between 2 queries must not exceed the theoretical time needed for this value to wrap.");
                        break;
                default:
                        return -1;
index 123f7096169c4b71ee88439721e559c566272059..3ba3f588806ebdc8c849c66108bb18c1703a0aef 100644 (file)
@@ -1138,12 +1138,12 @@ enum act_return process_use_service(struct act_rule *rule, struct proxy *px,
        return ACT_RET_STOP;
 }
 
-/* Parses persist-rules attached to <fe> frontend and report the first macthing
+/* Parses persist-rules attached to <fe> frontend and report the first matching
  * entry, using <sess> session and <s> stream as sample source.
  *
  * As this function is called several times in the same stream context,
  * <persist> will act as a caching value to avoid reprocessing of a similar
- * ruleset. It must be set to a negative value for the first invokation.
+ * ruleset. It must be set to a negative value for the first invocation.
  *
  * Returns 1 if a rule matches, else 0.
  */
index 3028a2a8fd95f9b2c5039505b6b4533a2349bfbd..cf64fe6d64d2091a3e00e949106aaf1b85c98e94 100644 (file)
@@ -4121,7 +4121,7 @@ static int check_proxy_tcpcheck(struct proxy *px)
                        ha_free(&comment);
                        break;
                case TCPCHK_ACT_SEND:
-                       /* Disable small buffer use for rules using LF stirngs or too large data */
+                       /* Disable small buffer use for rules using LF strings or too large data */
                        switch (chk->send.type) {
                        case TCPCHK_SEND_STRING:
                        case TCPCHK_SEND_BINARY: