[Privoxy-commits] [privoxy] 05/19: chat(): Use client_use_ssl(csp) instead of http->ssl

User Git git at git.privoxy.org
Sun Jan 10 15:50:44 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit aa5ec3cea82a006dbc031c8fdde5a26fcefa2c18
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Wed Jan 6 17:52:38 2021 +0100

    chat(): Use client_use_ssl(csp) instead of http->ssl
    
    ... in a place where it is more appropriate.
    
    Currently the difference doesn't matter, but it will
    when we start supporting upgrading the protocol from
    http to https behind the client's back.
---
 jcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jcc.c b/jcc.c
index 04fd5b6b..a5e561f5 100644
--- a/jcc.c
+++ b/jcc.c
@@ -4256,7 +4256,7 @@ static void chat(struct client_state *csp)
       }
 #endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
 #ifdef FEATURE_HTTPS_INSPECTION
-      if (http->ssl && !use_ssl_tunnel)
+      if (client_use_ssl(csp) && !use_ssl_tunnel)
       {
          int ret;
          /*

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list