From: Fabian Keil Date: Thu, 7 Jan 2021 13:44:24 +0000 (+0100) Subject: process_encrypted_request(): Use the MESSED_UP_REQUEST_RESPONSE when the rewritten... X-Git-Tag: v_3_0_30~140 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=ad74921fd9f286069c02130bae18a3f95422b10b;ds=sidebyside process_encrypted_request(): Use the MESSED_UP_REQUEST_RESPONSE when the rewritten request line is invalid --- diff --git a/jcc.c b/jcc.c index 4b85fe70..c824d948 100644 --- a/jcc.c +++ b/jcc.c @@ -2815,7 +2815,8 @@ static jb_err process_encrypted_request(struct client_state *csp) log_error(LOG_LEVEL_ERROR, "Failed to get the request destination in the rewritten headers"); ssl_send_data_delayed(&(csp->ssl_client_attr), - (const unsigned char *)CHEADER, strlen(CHEADER), get_write_delay(csp)); + (const unsigned char *)MESSED_UP_REQUEST_RESPONSE, + strlen(MESSED_UP_REQUEST_RESPONSE), get_write_delay(csp)); return JB_ERR_PARSE; }