handle_established_connection(): Don't mess with csp->ssl_with_(server|client)_is_opened
authorFabian Keil <fk@fabiankeil.de>
Sun, 1 Mar 2020 14:31:24 +0000 (15:31 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 1 Mar 2020 16:44:27 +0000 (17:44 +0100)
commit33e6e16fbc58c7f752c6b6899f46839f057ca2b5
treed29e5c0e3a28df6a844e9619e9b9c8482c1a0cc8
parent054d756c1ca22087c06f36e33db67981b552b7b8
handle_established_connection(): Don't mess with csp->ssl_with_(server|client)_is_opened

This was a mismerge in 2111876638. The original code did
it in chat() were it doesn't hurt. Actually we don't need
to do it at all, as the variables are initialized to 0.

Zeroing the variables in handle_established_connection()
caused memory leaks as close_server_ssl_connection() and
close_client_ssl_connection() returned early,

Sponsored by: Robert Klemme
jcc.c