]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: assorted typo fixes in the code and comments
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 26 Aug 2024 21:40:15 +0000 (23:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Sep 2024 15:49:21 +0000 (17:49 +0200)
This is 43rd iteration of typo fixes

15 files changed:
admin/release-estimator/README.md
doc/configuration.txt
doc/management.txt
include/haproxy/channel.h
include/haproxy/fcgi-app-t.h
include/haproxy/mux_spop-t.h
include/haproxy/stconn.h
include/haproxy/stick_table.h
include/import/ebistree.h
include/import/ebsttree.h
include/import/mt_list.h
src/debug.c
src/flt_spoe.c
src/quic_cid.c
src/stats-proxy.c

index e706dbf24b125d3b2baedad6589179502ee34616..007843daeaeb6363222c7fbaac1c5be395e889f1 100644 (file)
@@ -12,7 +12,7 @@ the queue.
 
 
 ## Installation
-It can be easilly installed with venv from python3
+It can be easily installed with venv from python3
 
 
     $ python3 -m venv ~/.local/venvs/stable-bot/
index 11d68792883edc68a7713a58556d8867b5b40ea3..4fd93892fe38637d6406369d70030370d9252589 100644 (file)
@@ -14748,7 +14748,7 @@ dgram-drop
                     X |          -  |   -  |   -  |   -  |          - |  - |  -
 
   This silently ignores the reception of a QUIC initial packet which otherwise
-  whould have resulted in a new QUIC connection instantiation and its SSL
+  would have resulted in a new QUIC connection instantiation and its SSL
   handshake execution.
 
 
@@ -18280,7 +18280,7 @@ sni <expression>
   checks, see the "check-sni" directive for more details.
 
   By default, the SNI is assigned to the connection name for "http-reuse",
-  unless overriden by the "pool-conn-name" server keyword.
+  unless overridden by the "pool-conn-name" server keyword.
 
 source <addr>[:<pl>[-<ph>]] [usesrc { <addr2>[:<port2>] | client | clientip } ]
 source <addr>[:<port>] [usesrc { <addr2>[:<port2>] | hdr_ip(<hdr>[,<occ>]) } ]
@@ -21586,7 +21586,7 @@ queue([<backend>]) : integer
 
 quic_enabled : boolean
   Return true when the support for QUIC transport protocol was compiled and
-  if this procotol was not disabled by "no-quic" global option. See also "no-quic"
+  if this protocol was not disabled by "no-quic" global option. See also "no-quic"
   global option.
 
 rand([<range>]) : integer
@@ -22047,7 +22047,7 @@ bc_srv_queue : integer
 bc_settings_streams_limit : integer
   Returns the maximum number of streams allowed on the backend connection. For
   TCP and HTTP/1.1 connections, it is always 1. For other protocols, it depends
-  on the settings negociated with the server.
+  on the settings negotiated with the server.
 
 be_id : integer
   Returns an integer containing the current backend's id. It can be used in
@@ -22370,7 +22370,7 @@ fc_src_port : integer
 fc_settings_streams_limit : integer
   Returns the maximum number of streams allowed on the frontend connection. For
   TCP and HTTP/1.1 connections, it is always 1. For other protocols, it depends
-  on the settings negociated with the client.
+  on the settings negotiated with the client.
 
 fc_unacked : integer
   Returns the unacked counter measured by the kernel for the client connection.
@@ -26290,7 +26290,7 @@ quoted ("Q") and escaped ("E") string formats.
 Special alias "%OG" may be used to retrieve the log origin (when / where
 the log was generated) in a human readable format. It is particularly useful
 with "option logasap" because some log variables or sample fetches could report
-incomplete values or behave diffently depending on when / where the logformat
+incomplete values or behave differently depending on when / where the logformat
 expression was evaluated. Possible values are:
   - "sess_error": log was generated during session error handling
   - "sess_killed": log was generated during session abortion (killed
@@ -27609,7 +27609,7 @@ SPOE communicates with external components using an in-house binary protocol,
 the Stream Processing Offload Protocol (SPOP).
 
 When the SPOE is used on a stream, a dedicated stream is spawned to handle the
-communcation with the external component. The main stream is the parent stream
+communication with the external component. The main stream is the parent stream
 of this "SPOE" stream. It means it is possible to retrieve variables of the
 main stream from the "SPOE" stream. See section 2.8 about variables for
 details.
index a0daa262b14f3876c431ebfe7f6d3a6bec414cc5..7faa26ff820f4dcb570aa86ba09782cd0e5d8af8 100644 (file)
@@ -2566,7 +2566,7 @@ set table <table> ptr <ptr> [data.<data_type> <value>]*
   <ptr> is written in the form 0xffff and must correspond to the address
   returned by a previous "show table" command. Matching an entry using its
   pointer may be relevant if the entry cannot be matched using the key due to
-  empty key or imcompatible characters on the cli.
+  empty key or incompatible characters on the cli.
 
 set timeout cli <delay>
   Change the CLI interface timeout for current connection. This can be useful
index d2d45e5529276255d62aadb6af8c7a05665bf62b..1faa4d08346e1717bf17ef7cbe238b0b0f81bdec 100644 (file)
@@ -694,7 +694,7 @@ static inline int channel_htx_recv_limit(const struct channel *chn, const struct
        unsigned int transit;
        int reserve;
 
-       /* return zeor if not allocated */
+       /* return zero if not allocated */
        if (!htx->size)
                return 0;
 
index 6233aef6eff22efef9ad064b374b689a23ac2108..56b95091d33bb955a1bb0780a89f3fbd5cf041ca 100644 (file)
@@ -56,7 +56,7 @@ struct fcgi_rule_conf {
        struct list list;
 };
 
-/* parameter rule evaluated during request analyzis */
+/* parameter rule evaluated during request analysis */
 struct fcgi_rule {
        enum fcgi_rule_type type;
        struct ist name;       /* name of the parameter/header */
@@ -65,14 +65,14 @@ struct fcgi_rule {
        struct list list;
 };
 
-/* parameter rule to set/unset a param at the end of the analyzis */
+/* parameter rule to set/unset a param at the end of the analysis */
 struct fcgi_param_rule {
        struct ist name;
        struct lf_expr *value; /* if empty , unset the parameter */
        struct ebpt_node node;
 };
 
-/* header rule to pass/hide a header at the end of the analyzis */
+/* header rule to pass/hide a header at the end of the analysis */
 struct fcgi_hdr_rule {
        struct ist name;
        int pass; /* 1 to pass the header, 0 Otherwise */
index b914b74ace1a3dab6f87991e8fcf20050e96e7d8..181ef51c0cb02083c38ee2f78216674a1bc0cd45 100644 (file)
@@ -96,7 +96,7 @@ enum spop_conn_st {
        SPOP_CS_AGENT_HELLO,     /* HELLO frame sent, waiting for agent HELLO frame to define the connection settings */
        SPOP_CS_FRAME_H,       /* HELLO handshake finished, waiting for a frame header */
        SPOP_CS_FRAME_P,       /* Frame header received, waiting for a frame data */
-       SPOP_CS_ERROR,         /* send DISCONNECT frame to be able ti close the conneciton */
+       SPOP_CS_ERROR,         /* send DISCONNECT frame to be able ti close the connection */
        SPOP_CS_CLOSING,       /* DISCONNECT frame sent, waiting for the agent DISCONNECT frame before closing */
        SPOP_CS_CLOSED,        /* Agent DISCONNECT frame received and  close the connection ASAP */
        SPOP_CS_ENTRIES
index 223b3b10a2f80e531ad6f1b1689e47439e77b093..9a61d6f5271e5592b4920c2513aac185cdc908e7 100644 (file)
@@ -392,7 +392,7 @@ static inline void se_need_remote_conn(struct sedesc *se)
 
 /* The application layer tells the stream connector that it just got the input
  * buffer it was waiting for. A read activity is reported. The SC_FL_HAVE_BUFF
- * flag is set and held until sc_used_buff() is called to indicatee it was
+ * flag is set and held until sc_used_buff() is called to indicate it was
  * used.
  */
 static inline void sc_have_buff(struct stconn *sc)
index 14b3e2d8ff3808122be50cbe0c35aafc5448352c..e770f50889fdd60cf3414277781063a735c5cee2 100644 (file)
@@ -216,7 +216,7 @@ static inline int __stksess_kill_if_expired(struct stktable *t, struct stksess *
 }
 
 /*
- * Decrease the refcount of a stksess and relase it if the refcount falls to 0
+ * Decrease the refcount of a stksess and release it if the refcount falls to 0
  * _AND_ if the session expired. Note,, the refcount is always decremented.
  *
  * This function locks the corresponding table shard to proceed. When this
index a438fa147994cf081eccd8f2032683b2a50c3396..94cd2ba037c7158421003e69dfb46f73d45db075 100644 (file)
@@ -319,7 +319,7 @@ __ebis_insert(struct eb_root *root, struct ebpt_node *new)
 
        /* We need the common higher bits between new->key and old->key.
         * This number of bits is already in <bit>.
-        * NOTE: we can't get here whit bit < 0 since we found a dup !
+        * NOTE: we can't get here with bit < 0 since we found a dup !
         */
        new->node.bit = bit;
        root->b[side] = eb_dotag(&new->node.branches, EB_NODE);
index db2267bf1962f667febcc8496fdb5399cf9f7817..f4cee7078e0e26e428a4bf75d4d3c767cedbc354 100644 (file)
@@ -313,7 +313,7 @@ __ebst_insert(struct eb_root *root, struct ebmb_node *new)
 
        /* We need the common higher bits between new->key and old->key.
         * This number of bits is already in <bit>.
-        * NOTE: we can't get here whit bit < 0 since we found a dup !
+        * NOTE: we can't get here with bit < 0 since we found a dup !
         */
        new->node.bit = bit;
        root->b[side] = eb_dotag(&new->node.branches, EB_NODE);
index 2a07ea03187100dfa43ee358fa5b12aee4e96012..3f1447ed63e39ee1abb1401076fa7174ee952a5f 100644 (file)
@@ -86,7 +86,7 @@ struct mt_list {
 #define MT_LIST_NEXT(a, t, m) (MT_LIST_ELEM((a)->next, t, m))
 
 
-/* Returns a pointer of type <t> to a structure preceeding the element which
+/* Returns a pointer of type <t> to a structure preceding the element which
  * contains the list element at address <a>, which is known as member <m> in
  * struct t*. Example:
  *
@@ -162,7 +162,7 @@ struct mt_list {
 
 /* The macros below directly map to their function equivalent. They are
  * provided for ease of use. Please refer to the equivalent functions
- * for their decription.
+ * for their description.
  */
 #define MT_LIST_INIT(e)                 (mt_list_init(e))
 #define MT_LIST_ISEMPTY(e)              (mt_list_isempty(e))
index b24344fc8f5b7c724a5beac327e8136e1325b29f..9a137649c6b2c64b5007718c974fa238db42231d 100644 (file)
@@ -2438,7 +2438,7 @@ static int feed_post_mortem_late()
         * feed_post_mortem_late() is registered in per_thread_init_list. Each
         * thread takes a mutex before looping over this list, so
         * feed_post_mortem_late() will be called by each thread in exclusive
-        * manner, one by one in synchronious order. Thread unlocks mutex only
+        * manner, one by one in synchronous order. Thread unlocks mutex only
         * after executing all init functions from this list.
        */
        for (i = 0; i < global.nbthread; i++) {
@@ -2447,7 +2447,7 @@ static int feed_post_mortem_late()
        }
 
        /* also set runtime process settings. At this stage we are sure, that all
-        * config options and limits adjustements are successfully applied.
+        * config options and limits adjustments are successfully applied.
         */
        post_mortem.process.run_uid = geteuid();
        post_mortem.process.run_gid = getegid();
index 1f3709b371f64412168cb60a6e0212f320d742db..61291e7f239c494d41b9f937d560765983e9094a 100644 (file)
@@ -52,7 +52,7 @@
 #define SPOE_CTX_FL_SRV_CONNECTED 0x00000002 /* Set after that on-server-session event was processed */
 #define SPOE_CTX_FL_REQ_PROCESS   0x00000004 /* Set when SPOE is processing the request */
 #define SPOE_CTX_FL_RSP_PROCESS   0x00000008 /* Set when SPOE is processing the response */
-/* unsued 0x00000010 */
+/* unused 0x00000010 */
 
 #define SPOE_CTX_FL_PROCESS (SPOE_CTX_FL_REQ_PROCESS|SPOE_CTX_FL_RSP_PROCESS)
 
index 85caf4a6f83c23f1154f819d4fb5f16b6540cdd3..cea5d371a92d2788b43d6bc293b873799fc1c197 100644 (file)
@@ -20,7 +20,7 @@
  * global tree. Tree access must only be done under lock protection.
  *
  * . CID global tree splitting
- * To reduce thread contention, global CID tree is in reality splitted into 256
+ * To reduce thread contention, global CID tree is in reality split into 256
  * distinct tree instances. Each CID is assigned to a single tree instance
  * based on its content. Use quic_cid_tree_idx() to retrieve the expected tree
  * location for a CID.
index bfc07295366fd666eddfec2b06409af24959fae0..76a14fddee2b94c213340332d6e8f09bf9722d80 100644 (file)
@@ -263,7 +263,7 @@ static struct field me_generate_field(const struct stat_col *col,
 
        /* TODO Special case needed for ST_I_PX_REQ_TOT. It is defined as a
         * generic column for backend side. Extra code required to diplay it on
-        * frontend side as an aggregate of values splitted by HTTP version.
+        * frontend side as an aggregate of values split by HTTP version.
         */
        if (idx == ST_I_PX_REQ_TOT && cap == STATS_PX_CAP_FE && !stat_file) {
                struct proxy *px = __objt_proxy(objt);