projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update cgi_send_banner()'s comment header
[privoxy.git]
/
jcc.c
diff --git
a/jcc.c
b/jcc.c
index
c40c30d
..
d82407c
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1553,7
+1553,8
@@
static jb_err receive_chunked_client_request_body(struct client_state *csp)
len = read_socket(csp->cfd, buf, sizeof(buf) - 1);
if (len <= 0)
{
len = read_socket(csp->cfd, buf, sizeof(buf) - 1);
if (len <= 0)
{
- log_error(LOG_LEVEL_ERROR, "Read the client body failed: %E");
+ log_error(LOG_LEVEL_ERROR,
+ "Reading the client body failed: %E");
break;
}
if (add_to_iob(csp->client_iob, csp->config->buffer_limit, buf, len))
break;
}
if (add_to_iob(csp->client_iob, csp->config->buffer_limit, buf, len))
@@
-2906,6
+2907,7
@@
static void continue_https_chat(struct client_state *csp)
if (JB_ERR_OK != process_encrypted_request(csp))
{
if (JB_ERR_OK != process_encrypted_request(csp))
{
+ csp->flags &= ~CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE;
return;
}
return;
}
@@
-3940,8
+3942,8
@@
static void handle_established_connection(struct client_state *csp)
if ((ssl_send_data_delayed(&(csp->ssl_client_attr),
(const unsigned char *)hdr, strlen(hdr),
get_write_delay(csp)) < 0)
if ((ssl_send_data_delayed(&(csp->ssl_client_attr),
(const unsigned char *)hdr, strlen(hdr),
get_write_delay(csp)) < 0)
- || (len = ssl_flush_socket(&(csp->ssl_client_attr),
- csp->iob) < 0))
+ || (
(
len = ssl_flush_socket(&(csp->ssl_client_attr),
+ csp->iob)
)
< 0))
{
log_error(LOG_LEVEL_CONNECT, "Write header to client failed");
{
log_error(LOG_LEVEL_CONNECT, "Write header to client failed");