CLEANUP: assorted typo fixes in the code and comments

This is 28th iteration of typo fixes
This commit is contained in:
Ilya Shipitsin 2021-11-20 23:11:12 +05:00 committed by Willy Tarreau
parent c5e7cf9e69
commit a4d09e7ffd
3 changed files with 7 additions and 7 deletions

View File

@ -5408,7 +5408,7 @@ http-after-response set-status <status> [reason <str>]
[ { if | unless } <condition> ]
This replaces the response status code with <status> which must be an integer
between 100 and 999. Plese refer to "http-response set-status" for a complete
between 100 and 999. Please refer to "http-response set-status" for a complete
description.
http-after-response set-var(<var-name>) <expr> [ { if | unless } <condition> ]
@ -16652,7 +16652,7 @@ jwt_verify(<alg>,<key>)
the certificates that might be used to verify JWTs must be known during init
in order to be added into a dedicated certificate cache so that no disk
access is required during runtime. For this reason, any used certificate must
be mentioned explicitely at least once in a jwt_verify call. Passing an
be mentioned explicitly at least once in a jwt_verify call. Passing an
intermediate variable as second parameter is then not advised.
This converter only verifies the signature of the token and does not perform
@ -16667,7 +16667,7 @@ jwt_verify(<alg>,<key>)
| ID | message |
+----+----------------------------------------------------------------------+
| 0 | "Verification failure" |
| 1 | "Verification sucess" |
| 1 | "Verification success" |
| -1 | "Unknown algorithm (not mentioned in RFC7518)" |
| -2 | "Unmanaged algorithm (PSXXX algorithm family)" |
| -3 | "Invalid token" |

View File

@ -234,7 +234,7 @@ static inline struct connection *session_get_conn(struct session *sess, void *ta
}
/* Returns the source address of the session and fallbacks on the client
* connection if not set. It returns a const address on succes or NULL on
* connection if not set. It returns a const address on success or NULL on
* failure.
*/
static inline const struct sockaddr_storage *sess_src(struct session *sess)
@ -249,7 +249,7 @@ static inline const struct sockaddr_storage *sess_src(struct session *sess)
}
/* Returns the destination address of the session and fallbacks on the client
* connection if not set. It returns a const address on succes or NULL on
* connection if not set. It returns a const address on success or NULL on
* failure.
*/
static inline const struct sockaddr_storage *sess_dst(struct session *sess)

View File

@ -567,7 +567,7 @@ static inline const char *si_state_str(int state)
/* Returns the source address of the stream-int and, if not set, fallbacks on
* the session for frontend SI and the server connection for the backend SI. It
* returns a const address on succes or NULL on failure.
* returns a const address on success or NULL on failure.
*/
static inline const struct sockaddr_storage *si_src(struct stream_interface *si)
{
@ -587,7 +587,7 @@ static inline const struct sockaddr_storage *si_src(struct stream_interface *si)
/* Returns the destination address of the stream-int and, if not set, fallbacks
* on the session for frontend SI and the server connection for the backend
* SI. It returns a const address on succes or NULL on failure.
* SI. It returns a const address on success or NULL on failure.
*/
static inline const struct sockaddr_storage *si_dst(struct stream_interface *si)
{