]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: assorted typo fixes in the code and comments
authorIlya Shipitsin <chipitsine@gmail.com>
Wed, 7 Dec 2022 04:46:19 +0000 (09:46 +0500)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Dec 2022 08:08:18 +0000 (09:08 +0100)
This is 34th iteration of typo fixes

doc/configuration.txt
doc/internals/api/event_hdl.txt
doc/lua-api/index.rst
doc/peers-v2.0.txt
doc/peers.txt
include/haproxy/event_hdl-t.h
src/quic_conn.c

index c6cb49f002dcbdbd6a3565a9cd8a3a247c367a30..c45f0b4b68006727be1e5113368a29e7a279341a 100644 (file)
@@ -3104,7 +3104,7 @@ tune.quic.socket-owner { listener | connection }
   The "listener" value indicates that QUIC transfers will occur on the shared
   listener socket. This option can be a good compromise for small traffic as it
   allows to reduce FD consumption. However, performance won't be optimal due to
-  a higher CPU usage if listeners are shared accross a lot of threads or a
+  a higher CPU usage if listeners are shared across a lot of threads or a
   large number of QUIC connections can be used simultaneously.
 
 tune.rcvbuf.client <number>
index fdcc973692b4e6fa4fda35bca21e7e00f0f65426..4414bc495f4d375b114be42fc5b6f53c41a82de2 100644 (file)
@@ -874,7 +874,7 @@ If EVENT_HDL_ASYNC_EVENT_DATA is not big enough to store your new
 event family struct, a compilation assert triggered by EVENT_HDL_CB_DATA
 will occur. In addition to this, an extra runtime BUG_ON will make
 sure the condition is met when publishing the event.
-The goal here is to force haproxy to fail explicitely so you know that
+The goal here is to force haproxy to fail explicitly so you know that
 something must be done on your side.
 
 3.1 PUBLISHING AN EVENT
index 2f2744ffaace6e145dbc3c282511d0c7a103041d..4b6e5af55a4797c739ec6008030ab42cd74f1de4 100644 (file)
@@ -364,7 +364,7 @@ Core class
   Returns HAProxy core information. We can find information like the uptime,
   the pid, memory pool usage, tasks number, ...
 
-  These informations are also returned by the management socket via the command
+  This information is also returned by the management socket via the command
   "show info". See the management socket documentation for more information
   about the content of these variables.
 
index 5f3aa11837007c9b2d24c1115f8afe23538b655d..051cb6094628f6a697805c5b1ac4297c2c1727e6 100644 (file)
@@ -154,7 +154,7 @@ encoded integer value |
 
 - for other key type
 
-The value length is annonced in table definition message
+The value length is announced in table definition message
 0 ....................
 value
 
index a5da40f3c727b0adc55f9692a24fe67cf3d27c39..7ce2fcb466e3c267680c2676a29c970bab11d21f 100644 (file)
        |      4     | Heartbeat message.                                     |
        +------------+--------------------------------------------------------+
 
-     About hearbeat messages: a peer sends heartbeat messages to peers it is
+     About heartbeat messages: a peer sends heartbeat messages to peers it is
      connected to after periods of 3s of inactivity (i.e. when there is no
      stick-table to synchronize for 3s). After a successful peer protocol
      handshake between two peers, if one of them does not send any other peer
index 3cd19624d1c6d5408539e09741c754bf394cbdb7..7ce9a1a1af558a49d9cdcb653278d989fbb6762c 100644 (file)
@@ -226,7 +226,7 @@ struct event_hdl_sub {
 /*     ---------------------------------------        */
 
 /* user defined event types are listed here
- * please reflect any change in theses macros in the subtype map
+ * please reflect any change in these macros in the subtype map
  * defined below that is used to perform string to event type and
  * event type to string conversions
  */
index 0fc2f5eb9a15ab66c22d52637956ec0e4e8fc243..8b09d57809d3a0745fb1a452c12fc7d83fb423db 100644 (file)
@@ -1435,7 +1435,7 @@ static int quic_packet_encrypt(unsigned char *payload, size_t payload_len,
 /* Decrypt <pkt> packet using encryption level <qel> for <qc> connection.
  * Decryption is done in place in packet buffer.
  *
- * Returns 1 on sucess else 0.
+ * Returns 1 on success else 0.
  */
 static int qc_pkt_decrypt(struct quic_conn *qc, struct quic_enc_level *qel,
                           struct quic_rx_packet *pkt)