Don't crash when blocking a CONNECT request with https filtering enabled
authorFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 13:38:16 +0000 (14:38 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 13:42:54 +0000 (14:42 +0100)
commit0362b68a48335dbecbdbd1cb1f346ec73ba94826
tree94e85aee4621f9ccfe87ebdba468a84048b296e9
parent16a671fbdbfe7a58ba8a5666562982d92285b882
Don't crash when blocking a CONNECT request with https filtering enabled

Previously ssl_send_data() was called before the TLS context was
setup which resulted in a segfault in mbedtls_ssl_get_max_frag_len().
jcc.c