Extend is_ssl_pending()'s description
authorFabian Keil <fk@fabiankeil.de>
Mon, 25 May 2020 10:15:52 +0000 (12:15 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 25 May 2020 11:34:30 +0000 (13:34 +0200)
... to note that it only considers data that has
already been received locally.

Sponsored by: Robert Klemme

ssl.c

diff --git a/ssl.c b/ssl.c
index a7bf709..634f76a 100644 (file)
--- a/ssl.c
+++ b/ssl.c
@@ -162,7 +162,10 @@ extern int server_use_ssl(const struct client_state *csp)
  *
  * Function    :  is_ssl_pending
  *
- * Description :  Tests if there are some waiting data on ssl connection
+ * Description :  Tests if there are some waiting data on ssl connection.
+ *                Only considers data that has actually been received
+ *                locally and ignores data that is still on the fly
+ *                or has not yet been sent by the remote end.
  *
  * Parameters  :
  *          1  :  ssl = SSL context to test