Hello, couple of spell check fixes.
Ilya
From b7c727d7dd358aa0e3191ce302d7489617909603 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Sat, 20 Feb 2021 00:18:00 +0500 Subject: [PATCH 1/2] CI: codespell: skip Makefile for spell check checking Makefile is noisy, we do not benefit from it --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 8029a21f6..75c96c054 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -14,4 +14,4 @@ jobs: - name: install prerequisites run: sudo pip install codespell - name: check - run: codespell -c -q 2 --ignore-words-list ist,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives --skip="CHANGELOG,*.fig,*.pem" + run: codespell -c -q 2 --ignore-words-list ist,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives --skip="CHANGELOG,Makefile,*.fig,*.pem" -- 2.29.2
From cac2c459eaec597c1ff402e63105518284634fca Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Sat, 20 Feb 2021 00:23:36 +0500 Subject: [PATCH 2/2] CLEANUP: assorted typo fixes in the code and comments This is 18th iteration of typo fixes --- doc/configuration.txt | 2 +- src/dns.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 6b2eea2b9..d1bb8816e 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -17557,7 +17557,7 @@ src_http_err_rate([<table>]) : integer src_http_fail_cnt([<table>]) : integer Returns the cumulative number of HTTP response failures triggered by the incoming connection's source address in the current proxy's stick-table or in - the designated stick-table. This includes the both repsonse errors and 5xx + the designated stick-table. This includes the both response errors and 5xx status codes other than 501 and 505. See also sc/sc0/sc1/sc2_http_fail_cnt. If the address is not found, zero is returned. diff --git a/src/dns.c b/src/dns.c index cb30bff46..41ff11d8c 100644 --- a/src/dns.c +++ b/src/dns.c @@ -193,7 +193,7 @@ ssize_t dns_recv_nameserver(struct dns_nameserver *ns, void *data, size_t size) * elem is removed from the list */ __ha_barrier_store(); - /* awake appctx beacause it may have other + /* awake appctx because it may have other * message to receive */ appctx_wakeup(ds->appctx); @@ -592,7 +592,7 @@ static void dns_session_io_handler(struct appctx *appctx) if (ci_putchk(si_ic(si), &trash) == -1) { /* should never happen since we * check available_room is large - * enought here. + * enough here. */ si_rx_room_blk(si); ret = 0; @@ -626,7 +626,7 @@ static void dns_session_io_handler(struct appctx *appctx) read: - /* if session is not a waiter it means there is no commited + /* if session is not a waiter it means there is no committed * message into rx_buf and we are free to use it * Note: we need a load barrier here to not miss the * delete from the list @@ -674,7 +674,7 @@ read: break; } - /* enougth data is available into the channel to read the message until the end */ + /* enough data is available into the channel to read the message until the end */ /* read from the channel until the end of the message */ co_getblk(si_oc(si), ds->rx_msg.area + ds->rx_msg.offset, ds->rx_msg.len - ds->rx_msg.offset, 0); @@ -980,7 +980,7 @@ static struct task *dns_process_idle_exp(struct task *t, void *context, unsigned /* force session shutdown */ ds->shutdown = 1; - /* to be sure that the appctx wont miss shutdown */ + /* to be sure that the appctx won't miss shutdown */ __ha_barrier_store(); /* wake appctx to perform the shutdown */ @@ -1127,7 +1127,7 @@ static struct task *dns_process_req(struct task *t, void *context, unsigned shor myist.len = len; ads = NULL; - /* try to push request into activ sess with free slot */ + /* try to push request into active sess with free slot */ if (!LIST_ISEMPTY(&dss->free_sess)) { ds = LIST_NEXT(&dss->free_sess, struct dns_session *, list); @@ -1147,7 +1147,7 @@ static struct task *dns_process_req(struct task *t, void *context, unsigned shor } if (!ads) { - /* try to push request into idle, this one should have enought free space */ + /* try to push request into idle, this one should have enough free space */ if (!LIST_ISEMPTY(&dss->idle_sess)) { ds = LIST_NEXT(&dss->idle_sess, struct dns_session *, list); @@ -1171,7 +1171,7 @@ static struct task *dns_process_req(struct task *t, void *context, unsigned shor } } - /* we didn't find a session avalaible with large enough room */ + /* we didn't find a session available with large enough room */ if (!ads) { /* allocate a new session */ ads = dns_session_new(dss); @@ -1272,7 +1272,7 @@ int dns_stream_init(struct dns_nameserver *ns, struct server *srv) dss->task_idle->context = dss; dss->task_idle->expire = tick_add(now_ms, 5000); - /* let start the task to free idle conns immediatly */ + /* let start the task to free idle conns immediately */ task_queue(dss->task_idle); LIST_INIT(&dss->free_sess); -- 2.29.2

