projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10cf237
)
Add a missing call to close_client_ssl_connection()
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 10 Mar 2020 14:06:38 +0000
(15:06 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 12 Mar 2020 10:07:21 +0000
(11:07 +0100)
... to fix a memory leak.
Sponsored by: Robert Klemme
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
99c423c
..
614c7f1
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-3776,6
+3776,9
@@
static void chat(struct client_state *csp)
* client body in the buffer (if there is one) and to
* continue parsing the bytes that follow.
*/
+#ifdef FEATURE_HTTPS_INSPECTION
+ close_client_ssl_connection(csp);
+#endif
drain_and_close_socket(csp->cfd);
csp->cfd = JB_INVALID_SOCKET;