From: Fabian Keil Date: Tue, 29 Sep 2020 10:37:27 +0000 (+0200) Subject: process_encrypted_request(): If we received no data after a CONNECT request, don... X-Git-Tag: v_3_0_29~72 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=ec6182134a54004b5d159eb58fafbea88ad4b5d7 process_encrypted_request(): If we received no data after a CONNECT request, don't report it as a parse error --- diff --git a/jcc.c b/jcc.c index 2455ec0c..bb57dedb 100644 --- a/jcc.c +++ b/jcc.c @@ -2292,7 +2292,8 @@ static jb_err process_encrypted_request(struct client_state *csp) err = receive_encrypted_request(csp); if (err != JB_ERR_OK) { - if (csp->client_iob->cur == NULL) + if (csp->client_iob->cur == NULL || + csp->client_iob->cur == csp->client_iob->eod) { /* * We did not receive any data, most likely because the