CLEANUP: assorted typo fixes in the code and comments · dataaip/haproxy@4a689da · GitHub
Skip to content

Commit 4a689da

Browse files
chipitsinewtarreau
authored andcommitted
CLEANUP: assorted typo fixes in the code and comments
This is 32nd iteration of typo fixes
1 parent 5526f92 commit 4a689da

25 files changed

Lines changed: 33 additions & 33 deletions

File tree

‎admin/wireshark-dissectors/peers/README‎

Lines changed: 1 addition & 1 deletion

‎doc/design-thoughts/thread-group.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,18 +339,18 @@ fd_takeover(): | do {
339339
old = {running, thread}; | return -1;
340340
new = {tid_bit, tid_bit}; | new = { running | tid_bit, old.thread }
341341
if (owner != expected) { | } while (!dwcas({running, thread}, &old, &new));
342-
atomic_and(runnning, ~tid_bit); |
342+
atomic_and(running, ~tid_bit); |
343343
return -1; // fail | fd_clr_running():
344344
} | return atomic_and_fetch(running, ~tid_bit);
345345
|
346346
while (old == {tid_bit, !=0 }) | poll():
347347
if (dwcas({running, thread}, &old, &new)) { | if (!owner)
348-
atomic_and(runnning, ~tid_bit); | continue;
348+
atomic_and(running, ~tid_bit); | continue;
349349
return 0; // success |
350350
} | if (!(thread_mask & tid_bit)) {
351351
} | epoll_ctl_del();
352352
| continue;
353-
atomic_and(runnning, ~tid_bit); | }
353+
atomic_and(running, ~tid_bit); | }
354354
return -1; // fail |
355355
| // via fd_update_events()
356356
fd_delete(): | if (fd_set_running() != -1) {

‎doc/internals/api/htx-api.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ message. For HTTP/1 messages, it is the message body without the chunks
267267
formatting, if any. For HTTP/2, it is the payload of DATA frames.
268268

269269
The DATA blocks are the only HTX blocks that may be partially processed (copied
270-
or removed). All other types of block must be entierly processed. This means
270+
or removed). All other types of block must be entirely processed. This means
271271
DATA blocks can be resized.
272272

273273

‎doc/lua-api/index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ On other terminal, you can test with telnet:
119119
Usage of load parameters
120120
------------------------
121121

122-
HAProxy lua-load(-per-thread) directives allow a list of paramaters after
122+
HAProxy lua-load(-per-thread) directives allow a list of parameters after
123123
the lua file name. These parameters are accessible through an array of args
124124
using this code `local args = table.pack(...)` in the body of loaded file.
125125

‎include/haproxy/acl-t.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* We're using a 3-state matching system :
3131
* - PASS : at least one pattern already matches
3232
* - MISS : some data is missing to decide if some rules may finally match.
33-
* - FAIL : no mattern may ever match
33+
* - FAIL : no pattern may ever match
3434
*
3535
* We assign values 0, 1 and 3 to FAIL, MISS and PASS respectively, so that we
3636
* can make use of standard arithmetic for the truth tables below :

‎include/haproxy/http_ana-t.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/* action flags.
3232
* Please also update the txn_show_flags() function below in case of changes.
3333
*/
34-
/* Unusued: 0x00000001..0x00000004 */
34+
/* Unused: 0x00000001..0x00000004 */
3535
#define TX_CONST_REPLY 0x00000008 /* The http reply must not be rewritten (don't eval after-response ruleset) */
3636
#define TX_CLTARPIT 0x00000010 /* the transaction is tarpitted (anti-dos) */
3737

‎include/haproxy/list.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@
863863
* (tmpelt2.prev == NULL on first run) \
864864
*/ \
865865
_MT_LIST_UNLOCK_PREV(tmpelt, tmpelt2.prev); \
866-
/* unlock_prev will implicitely relink: \
866+
/* unlock_prev will implicitly relink: \
867867
* elt->prev = prev \
868868
* prev->next = elt \
869869
*/ \

‎include/haproxy/pattern-t.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* ACLs :
3737
* - PASS : at least one pattern already matches
3838
* - MISS : some data is missing to decide if some rules may finally match.
39-
* - FAIL : no mattern may ever match
39+
* - FAIL : no pattern may ever match
4040
*
4141
* We assign values 0, 1 and 3 to FAIL, MISS and PASS respectively, so that we
4242
* can make use of standard arithmetic for the truth tables below :

‎include/haproxy/queue.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void pendconn_unlink(struct pendconn *p);
4545
* function to be used by default when unsure. Do not call it with server
4646
* or proxy locks held however. Warning: this is called from stream_free()
4747
* which may run concurrently with pendconn_process_next_strm() which can be
48-
* dequeing the entry. The function must not return until the pendconn is
48+
* dequeuing the entry. The function must not return until the pendconn is
4949
* guaranteed not to be known, which means that we must check its presence
5050
* in the tree under the queue's lock so that penconn_process_next_strm()
5151
* finishes before we return in case it would have grabbed this pendconn. See

‎include/haproxy/quic_loss-t.h‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)