[Privoxy-commits] [privoxy] 07/19: process_encrypted_request(): Use the MESSED_UP_REQUEST_RESPONSE when the rewritten request line is invalid

User Git git at git.privoxy.org
Sun Jan 10 15:50:46 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit ad74921fd9f286069c02130bae18a3f95422b10b
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Jan 7 14:44:24 2021 +0100

    process_encrypted_request(): Use the MESSED_UP_REQUEST_RESPONSE when the rewritten request line is invalid
---
 jcc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
    }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list