From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 25 May 2020 10:15:52 +0000 (+0200)
Subject: Extend is_ssl_pending()'s description
X-Git-Tag: v_3_0_29~411
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/diff?a=commitdiff_plain;h=fb05b1f5c700fdc84711fc85a3df0144a4e00c50;p=privoxy.git

Extend is_ssl_pending()'s description

... to note that it only considers data that has
already been received locally.

Sponsored by: Robert Klemme
---

diff --git a/ssl.c b/ssl.c
index a7bf7096..634f76a2 100644
--- 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