Hello,

some spell fixes.

Ilya
From 894012d27ed0a776d37d305ebba32ecdd527c3ce Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <[email protected]>
Date: Sat, 20 Nov 2021 23:11:12 +0500
Subject: [PATCH] CLEANUP: assorted typo fixes in the code and comments

This is 28th iteration of typo fixes
---
 doc/configuration.txt              | 6 +++---
 include/haproxy/session.h          | 4 ++--
 include/haproxy/stream_interface.h | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index e7a310092..89ad97002 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -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"                                                      |
diff --git a/include/haproxy/session.h b/include/haproxy/session.h
index f4abcc333..695f5ed4b 100644
--- a/include/haproxy/session.h
+++ b/include/haproxy/session.h
@@ -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)
diff --git a/include/haproxy/stream_interface.h b/include/haproxy/stream_interface.h
index d799216ed..88c8101d0 100644
--- a/include/haproxy/stream_interface.h
+++ b/include/haproxy/stream_interface.h
@@ -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)
 {
-- 
2.33.1

Reply via email to