CLEANUP: assorted typo fixes in the code and comments
This is 33rd iteration of typo fixes
This commit is contained in:
parent
4ede46be4e
commit
6f86eaae4f
@ -12,7 +12,7 @@ listed for a subsystem, you can simply send your changes the usual way, and it
|
||||
is also a sign that if you want to strengthen your skills on certain parts you
|
||||
can become yourself a maintainer of the parts you care a lot about.
|
||||
|
||||
Please do not ask them to troubleshoot your bugs, it's not their job eventhough
|
||||
Please do not ask them to troubleshoot your bugs, it's not their job even though
|
||||
they may occasionally help as time permits.
|
||||
|
||||
List of maintainers
|
||||
|
@ -1844,9 +1844,9 @@ lua-load <file> [ <arg1> [ <arg2> [ ... ] ] ]
|
||||
way will always see 0 in the "core.thread" variable. This directive can be
|
||||
used multiple times.
|
||||
|
||||
args are avalaible in the lua file using the code below in the body of the
|
||||
args are available in the lua file using the code below in the body of the
|
||||
file. Do not forget that Lua arrays start at index 1. A "local" variable
|
||||
declared in a file is avalaible in the entire file and not avalaible on
|
||||
declared in a file is available in the entire file and not available on
|
||||
other files.
|
||||
|
||||
local args = table.pack(...)
|
||||
@ -14144,7 +14144,7 @@ ca-file <cafile>
|
||||
directive. But you mustn't use it unless you know what you are doing.
|
||||
Configuring it this way basically mean that the bind will accept any client
|
||||
certificate generated from one of the CA present on your system, which is
|
||||
extremely unsecure.
|
||||
extremely insecure.
|
||||
|
||||
ca-ignore-err [all|<errorID>,...]
|
||||
This setting is only available when support for OpenSSL was built in.
|
||||
@ -23368,7 +23368,7 @@ for the cache filter.
|
||||
|
||||
There are two kinds of bandwidth limitation filters. The first one enforces a
|
||||
default limit and is applied per stream. The second one uses a stickiness table
|
||||
to enfore a limit equally divided between all streams sharing the same entry in
|
||||
to enforce a limit equally divided between all streams sharing the same entry in
|
||||
the table.
|
||||
|
||||
In addition, for a given filter, depending on the filter keyword used, the
|
||||
|
@ -58,8 +58,8 @@ enum {
|
||||
CLI_ST_PRINT_ERR, /* display const error in cli->msg */
|
||||
CLI_ST_PRINT_DYN, /* display dynamic message in cli->err. After the display, free the pointer */
|
||||
CLI_ST_PRINT_DYNERR, /* display dynamic error in cli->err. After the display, free the pointer */
|
||||
CLI_ST_PRINT_UMSG, /* display usermsgs_ctx buffer. After the display, usermsgs_ctx is resetted. */
|
||||
CLI_ST_PRINT_UMSGERR, /* display usermsgs_ctx buffer as error. After the display, usermsgs_ctx is resetted. */
|
||||
CLI_ST_PRINT_UMSG, /* display usermsgs_ctx buffer. After the display, usermsgs_ctx is reset. */
|
||||
CLI_ST_PRINT_UMSGERR, /* display usermsgs_ctx buffer as error. After the display, usermsgs_ctx is reset. */
|
||||
CLI_ST_CALLBACK, /* custom callback pointer */
|
||||
};
|
||||
|
||||
|
@ -109,7 +109,7 @@ static inline int cli_dynerr(struct appctx *appctx, char *err)
|
||||
}
|
||||
|
||||
/* updates the CLI's context to log messages stored in thread-local
|
||||
* usermsgs_ctx at <severity> level. usermsgs_ctx will be resetted when done.
|
||||
* usermsgs_ctx at <severity> level. usermsgs_ctx will be reset when done.
|
||||
* This is for use in CLI parsers to deal with quick response messages.
|
||||
*
|
||||
* Always returns 1.
|
||||
@ -124,7 +124,7 @@ static inline int cli_umsg(struct appctx *appctx, int severity)
|
||||
}
|
||||
|
||||
/* updates the CLI's context to log messages stored in thread-local
|
||||
* usermsgs_ctx using error level. usermsgs_ctx will be resetted when done.
|
||||
* usermsgs_ctx using error level. usermsgs_ctx will be reset when done.
|
||||
* This is for use in CLI parsers to deal with quick response messages.
|
||||
*
|
||||
* Always returns 1.
|
||||
|
@ -28,7 +28,7 @@
|
||||
/**** FCGI connection flags (32 bit), in fcgi_conn->flags ****/
|
||||
#define FCGI_CF_NONE 0x00000000
|
||||
|
||||
/* Flags indicating why writing to the mux is blockes */
|
||||
/* Flags indicating why writing to the mux is blocked */
|
||||
#define FCGI_CF_MUX_MALLOC 0x00000001 /* mux is blocked on lack connection's mux buffer */
|
||||
#define FCGI_CF_MUX_MFULL 0x00000002 /* mux is blocked on connection's mux buffer full */
|
||||
#define FCGI_CF_MUX_BLOCK_ANY 0x00000003 /* mux is blocked on connection's mux buffer full */
|
||||
|
@ -51,7 +51,7 @@
|
||||
#define H1C_F_CO_MSG_MORE 0x00020000 /* set if CO_SFL_MSG_MORE must be set when calling xprt->snd_buf() */
|
||||
#define H1C_F_CO_STREAMER 0x00040000 /* set if CO_SFL_STREAMER must be set when calling xprt->snd_buf() */
|
||||
|
||||
/* 0x00040000 - 0x40000000 unusued*/
|
||||
/* 0x00040000 - 0x40000000 unused */
|
||||
#define H1C_F_IS_BACK 0x80000000 /* Set on outgoing connection */
|
||||
|
||||
|
||||
|
@ -40,7 +40,7 @@ static inline void quic_loss_init(struct quic_loss *ql)
|
||||
ql->pto_count = 0;
|
||||
}
|
||||
|
||||
/* Return 1 if a persitent congestion is observed for a list of
|
||||
/* Return 1 if a persistent congestion is observed for a list of
|
||||
* lost packets sent during <period> period depending on <ql> loss information,
|
||||
* <now_us> the current time and <max_ack_delay_us> the maximum ACK delay of the connection
|
||||
* experiencing a packet loss. Return 0 on the contrary.
|
||||
|
@ -162,7 +162,7 @@ void srv_set_admin_flag(struct server *s, enum srv_admin mode, const char *cause
|
||||
*/
|
||||
void srv_clr_admin_flag(struct server *s, enum srv_admin mode);
|
||||
|
||||
/* Calculates the dynamic persitent cookie for a server, if a secret key has
|
||||
/* Calculates the dynamic persistent cookie for a server, if a secret key has
|
||||
* been provided.
|
||||
*/
|
||||
void srv_set_dyncookie(struct server *s);
|
||||
|
@ -2837,7 +2837,7 @@ enum XXH_VECTOR_TYPE /* fake enum */ {
|
||||
* @ingroup tuning
|
||||
* @brief Selects the minimum alignment for XXH3's accumulators.
|
||||
*
|
||||
* When using SIMD, this should match the alignment reqired for said vector
|
||||
* When using SIMD, this should match the alignment required for said vector
|
||||
* type, so, for example, 32 for AVX2.
|
||||
*
|
||||
* Default: Auto detected.
|
||||
|
@ -7,7 +7,7 @@ feature ignore_unknown_macro
|
||||
|
||||
# This script test health-checks for four backends with one server by backend.
|
||||
# A syslog server is attached to each backend to check the syslog messages
|
||||
# in the righ order.
|
||||
# in the right order.
|
||||
|
||||
# First, we check a health-check has passed for all the servers thanks to the syslog
|
||||
# messages. Then each server is disabled. The health-check status are checked.
|
||||
|
@ -2304,7 +2304,7 @@ static void init(int argc, char **argv)
|
||||
|
||||
#if (HA_OPENSSL_VERSION_NUMBER < 0x1010000fL)
|
||||
/* Initialize the error strings of OpenSSL
|
||||
* It only needs to be done explicitely with older versions of the SSL
|
||||
* It only needs to be done explicitly with older versions of the SSL
|
||||
* library. On newer versions, errors strings are loaded during start
|
||||
* up. */
|
||||
SSL_load_error_strings();
|
||||
|
@ -8579,7 +8579,7 @@ __LJMP static int hlua_register_init(lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* This functio is an LUA binding. It permits to register a task
|
||||
/* This function is an LUA binding. It permits to register a task
|
||||
* executed in parallel of the main HAroxy activity. The task is
|
||||
* created and it is set in the HAProxy scheduler. It can be called
|
||||
* from the "init" section, "post init" or during the runtime.
|
||||
|
@ -480,7 +480,7 @@ const char *http_get_reason(unsigned int status)
|
||||
|
||||
/* Returns the ist string corresponding to port part (without ':') in the host
|
||||
* <host>, IST_NULL if no ':' is found or an empty IST if there is no digit. In
|
||||
* the last case, the result is the original ist trimed to 0. So be sure to test
|
||||
* the last case, the result is the original ist trimmed to 0. So be sure to test
|
||||
* the result length before doing any pointer arithmetic.
|
||||
*/
|
||||
struct ist http_get_host_port(const struct ist host)
|
||||
|
@ -389,7 +389,7 @@ int http_replace_req_uri(struct htx *htx, const struct ist uri)
|
||||
goto fail;
|
||||
|
||||
sl = http_get_stline(htx);
|
||||
ALREADY_CHECKED(sl); /* the stline exists because http_replace_stline() succeded */
|
||||
ALREADY_CHECKED(sl); /* the stline exists because http_replace_stline() succeeded */
|
||||
|
||||
sl->flags &= ~HTX_SL_F_NORMALIZED_URI;
|
||||
if (!http_update_host(htx, sl, uri))
|
||||
|
@ -462,7 +462,7 @@ void resolv_trigger_resolution(struct resolv_requester *req)
|
||||
if (resolvers->t && (res->status != RSLV_STATUS_VALID ||
|
||||
!tick_isset(res->last_resolution) || tick_is_expired(exp, now_ms))) {
|
||||
/* If the resolution is not running and the requester is a
|
||||
* server, reset the resoltion timer to force a quick
|
||||
* server, reset the resolution timer to force a quick
|
||||
* resolution.
|
||||
*/
|
||||
if (res->step == RSLV_STEP_NONE &&
|
||||
|
Loading…
Reference in New Issue
Block a user