process_encrypted_request(): Use the MESSED_UP_REQUEST_RESPONSE when the rewritten...
authorFabian Keil <fk@fabiankeil.de>
Thu, 7 Jan 2021 13:44:24 +0000 (14:44 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 10 Jan 2021 15:48:22 +0000 (16:48 +0100)
jcc.c

diff --git a/jcc.c b/jcc.c
index 4b85fe7..c824d94 100644 (file)
--- 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;
    }