]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: tree-wide: fix a few user-visible spelling mistakes from dev7
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Apr 2026 07:39:49 +0000 (09:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Apr 2026 08:49:51 +0000 (10:49 +0200)
These spelling mistakes in documentation, traces or error messages
were introduced after -dev7. Some might possibly deserve being
backported.

doc/configuration.txt
doc/haterm.txt
src/h3.c
src/mux_quic.c
src/stats.c
src/tcpcheck.c

index 5b8ad4e8cbebc2c85d9d0ea05785c6f567c446da..9601e45644789411193e25c613a66bfb5d3170ac 100644 (file)
@@ -5286,7 +5286,7 @@ tune.quic.fe.stream.max-concurrent <number>
 tune.quic.fe.stream.max-total <number>
   Sets the maximum number of requests that can be handled by a single QUIC
   connection. Once this total is reached, the connection will be gracefully
-  shutdown. In HTTP/3, this translates in a GOAWAY frame. The connection is
+  shutdown. In HTTP/3, this translates to a GOAWAY frame. The connection is
   finally closed when all remaining transfers are completed.
 
   This setting is applied as a hard limit on the connection via the QUIC flow
@@ -5299,7 +5299,7 @@ tune.quic.fe.stream.max-total <number>
   side, as well as CPU consumption on both sides due to TLS handshakes.
 
   The default value is 0 which implies no specific limit outside of the QUIC
-  protocol encoding limitation (2^60, more that a billion billion).
+  protocol encoding limitation (2^60, more than a billion billion).
 
 tune.quic.frontend.max-streams-bidi <number> (deprecated)
   This keyword has been deprecated in 3.3 and will be removed in 3.5. It is
@@ -9508,7 +9508,7 @@ log-steps <steps>
   logs will be emitted, and even permits to emit multiple logs for a
   same transaction. Special value 'all' may be used to enable all available
   log origins, making it possible to track a transaction from accept to close.
-  Indidivual log origins may also be specified using their names separated by
+  Individual log origins may also be specified using their names separated by
   commas to selectively enable when logs should be produced.
 
   Common log origins are: accept, connect, request, response, close.
@@ -23746,7 +23746,7 @@ cpu_usage_thr : integer
   loads as it is measured over a few tens to hundreds of requests. This is the
   same value as used to decide to enable connection killing on too high
   glitches, or to disable compression. See also "tune.glitches.kill.cpu-usage"
-  and "maxcomcpuusage".
+  and "maxcompcpuusage".
 
 date([<offset>[,<unit>]]) : integer
   Returns the current date as the epoch (number of seconds since 01/01/1970).
@@ -32340,7 +32340,7 @@ ocsp-update [ off | on ]
             "GET http://127.0.0.1:12345/MEMwQT HTTP/1.1"
 
   Troubleshooting:
-  A common error that can happen with let's encrypt certificates is if the DNS
+  A common error that can happen with Let's Encrypt certificates is if the DNS
   resolution provides an IPv6 address and your system does not have a valid
   outgoing IPv6 route. In such a case, you can either create the appropriate
   route or set the "httpclient.resolvers.prefer ipv4" option in the global
@@ -32588,7 +32588,7 @@ profile <string>
   the profile is not supported. When not set, no profile field is included
   and the CA uses its default issuance policy.
 
-  See https://letsencrypt.org/docs/profiles/ for letsencrypt profiles.
+  See https://letsencrypt.org/docs/profiles/ for Let's Encrypt profiles.
 
   Example:
     # Request short-lived certificates
index 6096b52b017d2d9c940581581b4d448d32b37d5f..d183ae6b7791015b2e823b260a68a79f8ad25e9b 100644 (file)
@@ -59,7 +59,7 @@ versions. It displays its usage when run without argument or wrong arguments:
         -C : dump the configuration and exit
         -D : goes daemon
         -b <keysize> : RSA key size in bits (ex: "2048", "4096"...)
-        -c <curves> : ECSDA curves (ex: "P-256", "P-384"...)
+        -c <curves> : ECDSA curves (ex: "P-256", "P-384"...)
         -v : shows version
         -d : enable the traces for all http protocols
         --quic-bind-opts <opts> : append options to QUIC "bind" lines
index 8a836b7db38ac19053a77eff9051d18da99b053b..5a182fe71fff1ecf87f73644e96298d0c1d8f4ee 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -1925,7 +1925,7 @@ static ssize_t h3_rcv_buf(struct qcs *qcs, struct buffer *b, int fin)
                case H3_FT_GOAWAY:
                        ret = h3_parse_goaway_frm(qcs->qcc->ctx, b, flen);
                        if (ret < 0) {
-                               TRACE_ERROR("error on SETTINGS parsing", H3_EV_RX_FRAME, qcs->qcc->conn, qcs);
+                               TRACE_ERROR("error on GOAWAY parsing", H3_EV_RX_FRAME, qcs->qcc->conn, qcs);
                                qcc_set_error(qcs->qcc, h3c->err, 1);
                                goto err;
                        }
@@ -3136,7 +3136,7 @@ static int h3_attach(struct qcs *qcs, void *conn_ctx)
                /* Local stack should not attached stream on a closed connection. */
                BUG_ON(quic_stream_is_local(qcs->qcc, qcs->id));
 
-               TRACE_STATE("close stream outside of goaway range", H3_EV_H3S_NEW, qcs->qcc->conn, qcs);
+               TRACE_STATE("close stream outside of GOAWAY range", H3_EV_H3S_NEW, qcs->qcc->conn, qcs);
                qcc_abort_stream_read(qcs);
                qcc_reset_stream(qcs, H3_ERR_REQUEST_REJECTED);
        }
index 127ff048b263f257633f4bef57e3272d1e9219bc..f18234debde513a32d8fce3bd4a37c83756e715c 100644 (file)
@@ -3512,7 +3512,7 @@ static void qcc_release(struct qcc *qcc)
 
        while (!LIST_ISEMPTY(&qcc->lfctl.frms)) {
                struct quic_frame *frm = LIST_ELEM(qcc->lfctl.frms.n, struct quic_frame *, list);
-               qc_frm_free(conn_is_quic(qcc->conn) ? qcc->conn->handle.qc : 0, &frm);
+               qc_frm_free(conn_is_quic(qcc->conn) ? qcc->conn->handle.qc : NULL, &frm);
        }
 
        qcc_clear_frms(qcc);
@@ -3871,7 +3871,7 @@ static int qmux_init(struct connection *conn, struct proxy *prx,
 
        qcc->wait_event.tasklet = tasklet_new();
        if (!qcc->wait_event.tasklet) {
-               TRACE_ERROR("taslket alloc failure", QMUX_EV_QCC_NEW);
+               TRACE_ERROR("tasklet alloc failure", QMUX_EV_QCC_NEW);
                goto err;
        }
 
@@ -3976,7 +3976,7 @@ static int qmux_init(struct connection *conn, struct proxy *prx,
 
                qcs = qcc_init_stream_local(qcc, 1);
                if (!qcs) {
-                       TRACE_PROTO("Cannot allocate a new locally initiated streeam",
+                       TRACE_PROTO("Cannot allocate a new locally initiated stream",
                                    QMUX_EV_QCC_NEW|QMUX_EV_QCC_ERR, conn);
                        goto err;
                }
index 3c143c27d761cbd4a4aa56424009a76193b4437c..d323006f1ffc6924a6c8cfef90b26fdbdf409cb1 100644 (file)
@@ -104,7 +104,7 @@ const struct stat_col stat_cols_info[ST_I_INF_MAX] = {
        [ST_I_INF_UPTIME_SEC]                     = { .name = "Uptime_sec",                  .alt_name = "uptime_seconds",                .desc = "How long ago this worker process was started (seconds)" },
        [ST_I_INF_START_TIME_SEC]                 = { .name = "Start_time_sec",              .alt_name = "start_time_seconds",            .desc = "Start time in seconds" },
        [ST_I_INF_MEMMAX_MB]                      = { .name = "Memmax_MB",                   .alt_name = NULL,                            .desc = "Worker process's hard limit on memory usage in MB (-m on command line)" },
-       [ST_I_INF_MEMMAX_BYTES]                   = { .name = "Memmax_bytes",                .alt_name = "max_memory_bytes",              .desc = "Worker process's hard limit on memory usage in byes (-m on command line)" },
+       [ST_I_INF_MEMMAX_BYTES]                   = { .name = "Memmax_bytes",                .alt_name = "max_memory_bytes",              .desc = "Worker process's hard limit on memory usage in bytes (-m on command line)" },
        [ST_I_INF_POOL_ALLOC_MB]                  = { .name = "PoolAlloc_MB",                .alt_name = NULL,                            .desc = "Amount of memory allocated in pools (in MB)" },
        [ST_I_INF_POOL_ALLOC_BYTES]               = { .name = "PoolAlloc_bytes",             .alt_name = "pool_allocated_bytes",          .desc = "Amount of memory allocated in pools (in bytes)" },
        [ST_I_INF_POOL_USED_MB]                   = { .name = "PoolUsed_MB",                 .alt_name = NULL,                            .desc = "Amount of pool memory currently used (in MB)" },
index 9822f2cdc97ee1aaff557e66695b729e7d35ecf3..4b2d4390cd2d1b788c32751d521f808cb7cfb8d4 100644 (file)
@@ -5833,7 +5833,7 @@ int cfg_parse_healthchecks(const char *file, int linenum, char **args, int kwm)
                        goto out;
                }
                else {
-                       ha_alert("parsing [%s:%d] : unknown healthcheck type '%s (expects 'tcp-check', 'httpchk', 'ssl-hello-chk', "
+                       ha_alert("parsing [%s:%d] : unknown healthcheck type '%s' (expects 'tcp-check', 'httpchk', 'ssl-hello-chk', "
                                 "'smtpchk', 'pgsql-check', 'redis-check', 'mysql-check', 'ldap-check', 'spop-check').\n",
                                 file, linenum, args[1]);
                        err_code |= ERR_ALERT | ERR_ABORT;