CLEANUP: assorted typo fixes in the code and comments

This is 33rd iteration of typo fixes
This commit is contained in:
Ilya Shipitsin
2022-11-30 16:22:42 +05:00
committed by Christopher Faulet
parent 4ede46be4e
commit 6f86eaae4f
15 changed files with 20 additions and 20 deletions

View File

@@ -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 */
};

View File

@@ -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.

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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.

View File

@@ -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);