X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=5ed93b35688cb7feaba64cfff0d3d205b6e932e4;hp=2d6ba77d7b1ff03d115e2761128d4b9a39c816eb;hb=9e73ea7b786dbd1b7c3b9e53812746e3fcc6c15b;hpb=c48d1d6d08996116cbcea55cd3fc6c2a558e499a diff --git a/jcc.c b/jcc.c index 2d6ba77d..5ed93b35 100644 --- a/jcc.c +++ b/jcc.c @@ -2159,7 +2159,7 @@ static int can_filter_request_body(const struct client_state *csp) { log_error(LOG_LEVEL_INFO, "Not filtering request body from %s: buffer limit %lu will be exceeded " - "(content length %lluu)", csp->ip_addr_str, csp->config->buffer_limit, + "(content length %llu)", csp->ip_addr_str, csp->config->buffer_limit, csp->expected_client_content_length); return FALSE; } @@ -2806,6 +2806,8 @@ static jb_err process_encrypted_request_headers(struct client_state *csp) "Failed to get the encrypted request destination"); ssl_send_data_delayed(&(csp->ssl_client_attr), (const unsigned char *)CHEADER, strlen(CHEADER), get_write_delay(csp)); + destroy_list(headers); + return JB_ERR_PARSE; }