Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
graygnuorg committed Apr 19, 2023
1 parent 559ae70 commit 11e05de
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 27 deletions.
10 changes: 10 additions & 0 deletions ChangeLog.sed
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Spell-fixes and other amendments to ChangeLog. -*- fundamental -*-
# At input, each ChangeLog entry is prefixed with the commit hash followed
# by the # sign.

/^892b9f76f3d23b2d999511df3a468786f08a822d#/,/^[[:xdigit:]]{40}#/s/bakend/backend/
/^eb5d7c041da62581d675f92f6ec3c68784a2e9aa#/,/^[[:xdigit:]]{40}#/s/Decreas\b/Decrease/
/^82eae3a57cf5d9696e56d91a445a776383ba943a#/,/^[[:xdigit:]]{40}#/s/testsing/testing/

# Remove commit hashes. The file must end with this rule.
s/^[[:xdigit:]]{40}#//
17 changes: 8 additions & 9 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ README: README.md
.PHONY: ChangeLog
ChangeLog:
@echo "Creating ChangeLog"; \
(git log --pretty='format:%ad %cn <%ae>%n%n%w(72,8,8)%s%n%n%b' \
--date=short; \
echo ""; \
echo "Local Variables:"; \
echo "mode: change-log"; \
echo "version-control: never"; \
echo "buffer-read-only: t"; \
echo "End:") > ChangeLog
(git log --pretty='format:%H#%ad %cn <%ae>%n%n%w(72,8,8)%s%n%n%b' \
--date=short | sed -r -f ChangeLog.sed; \
echo ""; \
echo "Local Variables:"; \
echo "mode: change-log"; \
echo "version-control: never"; \
echo "buffer-read-only: t"; \
echo "End:") > ChangeLog
endif

4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Pound -- history of user-visible changes. 2023-04-17
Pound -- history of user-visible changes. 2023-04-19
See the end of file for copying conditions.

Pound is a continuation of the software originally developed by
Expand Down Expand Up @@ -110,7 +110,7 @@ being selected than the ones with lesser priorities.
** Interleaved Weighted Round Robin Balancing

Requests are assigned to each backend in turn. Backend priorities, or
weigths, are used to control the share of requests handled by each
weights, are used to control the share of requests handled by each
backend. The greater the weight, the more requests will be sent to
this backend.

Expand Down
8 changes: 4 additions & 4 deletions doc/pound.8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with pound. If not, see <http://www.gnu.org/licenses/>.
.TH POUND 8 "April 17, 2023" "pound" "System Manager's Manual"
.TH POUND 8 "April 19, 2023" "pound" "System Manager's Manual"
.SH NAME
pound \- HTTP/HTTPS reverse-proxy and load-balancer
.SH SYNOPSIS
Expand Down Expand Up @@ -180,7 +180,7 @@ is sum of all priorities.
.TP
.B Interleaved Weighted Round Robin Balancing
Requests are assigned to each backend in turn. Backend priorities, or
.I weigths
.I weights
are used to control the share of requests handled by each backend.
The greater the weight, the more requests will be sent to this backend.
In general, the share of requests assigned to a backend is calculated
Expand Down Expand Up @@ -564,7 +564,7 @@ section below, for a detailed description of this feature.
\fBIncludeDir\fR "\fIdir\fR"
Sets the \fIinclude directory\fR. This is the directory
where \fIpound\fR looks for relative file names that appear in other
configuratin directives (e.g. \fIInclude\fR). The default value is
configuration directives (e.g. \fIInclude\fR). The default value is
the system configuration directory as set at compile time (you can
check its value in the output of \fBpound -V\fR). This initial value
can be changed in the command line using the
Expand Down Expand Up @@ -690,7 +690,7 @@ or
.B Group
global statements is used. When set to
.B true
it will change the owner of the socket file to that spefified by
it will change the owner of the socket file to that specified by
those two statements.
.SH "HTTP Listener"
An HTTP listener defines an address and port that
Expand Down
2 changes: 1 addition & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ typedef unsigned TOKENMASK;

#define T_BIT(t) ((TOKENMASK)1<<((t)-T__BASE))
#define T_MASK_ISSET(m,t) ((m) & T_BIT(t))
#define T_ANY 0 /* any token, inlcuding newline */
#define T_ANY 0 /* any token, including newline */
/* Unquoted character sequence */
#define T_UNQ (T_BIT (T_IDENT) | T_BIT (T_NUMBER) | T_BIT (T_LITERAL))

Expand Down
2 changes: 1 addition & 1 deletion src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ bio_callback
return ret;

/*
* a time-out already occured
* a time-out already occurred
*/
if ((to = bio_arg->timeout * 1000) < 0)
{
Expand Down
8 changes: 4 additions & 4 deletions src/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ metric_labels_add (METRIC_LABELS *head, char const *name, char const *value)
return 0;
}

/* Remove last label from the lavel list. */
/* Remove last label from the list. */
static void
metric_labels_pop (METRIC_LABELS *head)
{
struct metric_label *label = DLIST_LAST (head);
DLIST_REMOVE(head, label, next);
free(label);
DLIST_REMOVE (head, label, next);
free (label);
}

/* Copy labels from SRC to DST. Notice: does not initialize or reset DST. */
Expand Down Expand Up @@ -332,7 +332,7 @@ static struct metric_family workers_metric_families[] = {


/*
* Metric familiy definitions describe how to iterate over the root
* Metric family definitions describe how to iterate over the root
* object and, if necessary, what family to descend into for each
* object retrieved.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/pound.h
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ enum
WSS_RESP_HEADER_CONNECTION_UPGRADE | WSS_RESP_HEADER_UPGRADE_WEBSOCKET
};

/* Track SSL handshare/renegotiation so we can reject client-renegotiations. */
/* Track SSL handshake/renegotiation so we can reject client-renegotiations. */
typedef enum
{
RENEG_INIT = 0,
Expand Down
2 changes: 1 addition & 1 deletion src/poundctl.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Idle timeout: {{ .timeout }}
"listeners" - entire listing as requested by poundctl list
"services" - single listener as requested by poundctl list /L
Notice that this attribute is present in the full
listing as well, so presense of "listeners" should
listing as well, so presence of "listeners" should
be checked first.
"backends" - single service as requested by poundctl list /L/S

Expand Down
8 changes: 4 additions & 4 deletions tests/poundharness.pl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ sub cleanup {
} elsif (WIFSIGNALED($?)) {
print STDERR "pound terminated on signal " . WTERMSIG($?) . "\n";
} else {
print STDERR "pound terminated with unrecogized status " . $? . "\n";
print STDERR "pound terminated with unrecognized status " . $? . "\n";
}
exit(EX_ERROR);
};
Expand Down Expand Up @@ -1214,7 +1214,7 @@ =head1 OPTIONS
Read source configuration file from I<SRC>, write processed configuration
to I<DST> and use it as configuration file when running B<pound>. If
I<DST> is omitted, F<pound.cfg> is assumed. If this option is not given,
I<SRC> defaulst to F<pound.cfi>.
I<SRC> defaults to F<pound.cfi>.
=item B<-l>, B<--log-level=> I<N>
Expand Down Expand Up @@ -1258,8 +1258,8 @@ =head1 SCRIPT FILE
-X-Forwarded-Proto: https
means that heade B<X-Forwarded-Proto: https> must be absent in the response.
The test will fail if it is present.
means that the response may not contain B<X-Forwarded-Proto: https> header.
The test will fail if such header is present.
Headers may be followed by a newline and response body (content). If
present, it will be matched literally against the actual response.
Expand Down

0 comments on commit 11e05de

Please sign in to comment.