Add a missing call to close_client_and_server_ssl_connections()
authorFabian Keil <fk@fabiankeil.de>
Mon, 2 Mar 2020 15:45:22 +0000 (16:45 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 2 Mar 2020 17:44:58 +0000 (18:44 +0100)
Not calling it caused memory leaks.

Sponsored by: Robert Klemme

jcc.c

diff --git a/jcc.c b/jcc.c
index f142996..75be2d2 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -3925,6 +3925,7 @@ static void chat(struct client_state *csp)
                   {
                      send_crunch_response(csp, rsp);
                   }
+                  close_client_and_server_ssl_connections(csp);
                   return;
                }
             }