]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: assorted typo fixes in the code and comments
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 20 Nov 2021 18:11:12 +0000 (23:11 +0500)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Nov 2021 18:08:12 +0000 (19:08 +0100)
This is 28th iteration of typo fixes

doc/configuration.txt
include/haproxy/session.h
include/haproxy/stream_interface.h

index e7a31009210424b69b1500c277e5a0413a6e9c63..89ad97002e92fdc51ec1bb37a254aca8c9f932bb 100644 (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"                                                      |
index f4abcc33360c9297954fa5b2b48f8e320615d5fd..695f5ed4b21f722dfab6413863accfbb2eb487d7 100644 (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)
index d799216edd30633febe40779e007dec2b1d264b8..88c8101d05912275bf39beb8ae52eaf255436a18 100644 (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)
 {