projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe3c35
)
chat(): Use client_use_ssl(csp) instead of http->ssl
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 6 Jan 2021 16:52:38 +0000
(17:52 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 10 Jan 2021 15:48:22 +0000
(16:48 +0100)
... 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
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
04fd5b6
..
a5e561f
100644
(file)
--- 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;
/*