mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
CLEANUP: assorted typo fixes in the code and comments
This is 28th iteration of typo fixes
This commit is contained in:
parent
c5e7cf9e69
commit
a4d09e7ffd
@ -5408,7 +5408,7 @@ http-after-response set-status <status> [reason <str>]
|
|||||||
[ { if | unless } <condition> ]
|
[ { if | unless } <condition> ]
|
||||||
|
|
||||||
This replaces the response status code with <status> which must be an integer
|
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.
|
description.
|
||||||
|
|
||||||
http-after-response set-var(<var-name>) <expr> [ { if | unless } <condition> ]
|
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
|
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
|
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
|
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.
|
intermediate variable as second parameter is then not advised.
|
||||||
|
|
||||||
This converter only verifies the signature of the token and does not perform
|
This converter only verifies the signature of the token and does not perform
|
||||||
@ -16667,7 +16667,7 @@ jwt_verify(<alg>,<key>)
|
|||||||
| ID | message |
|
| ID | message |
|
||||||
+----+----------------------------------------------------------------------+
|
+----+----------------------------------------------------------------------+
|
||||||
| 0 | "Verification failure" |
|
| 0 | "Verification failure" |
|
||||||
| 1 | "Verification sucess" |
|
| 1 | "Verification success" |
|
||||||
| -1 | "Unknown algorithm (not mentioned in RFC7518)" |
|
| -1 | "Unknown algorithm (not mentioned in RFC7518)" |
|
||||||
| -2 | "Unmanaged algorithm (PSXXX algorithm family)" |
|
| -2 | "Unmanaged algorithm (PSXXX algorithm family)" |
|
||||||
| -3 | "Invalid token" |
|
| -3 | "Invalid token" |
|
||||||
|
@ -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
|
/* 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.
|
* failure.
|
||||||
*/
|
*/
|
||||||
static inline const struct sockaddr_storage *sess_src(struct session *sess)
|
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
|
/* 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.
|
* failure.
|
||||||
*/
|
*/
|
||||||
static inline const struct sockaddr_storage *sess_dst(struct session *sess)
|
static inline const struct sockaddr_storage *sess_dst(struct session *sess)
|
||||||
|
@ -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
|
/* 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
|
* 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)
|
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
|
/* 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
|
* 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)
|
static inline const struct sockaddr_storage *si_dst(struct stream_interface *si)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user