projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
receive_encrypted_request(): Use the socket-timeout when waiting for new data
[privoxy.git]
/
jcc.c
diff --git
a/jcc.c
b/jcc.c
index
511b36b
..
69c0180
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-2221,7
+2221,7
@@
static jb_err receive_encrypted_request(struct client_state *csp)
{
log_error(LOG_LEVEL_HEADER, "Reading encrypted headers");
if (!is_ssl_pending(&(csp->mbedtls_client_attr.ssl)) &&
{
log_error(LOG_LEVEL_HEADER, "Reading encrypted headers");
if (!is_ssl_pending(&(csp->mbedtls_client_attr.ssl)) &&
- !data_is_available(csp->cfd,
(int)csp->config->keep_alive
_timeout))
+ !data_is_available(csp->cfd,
csp->config->socket
_timeout))
{
log_error(LOG_LEVEL_CONNECT,
"Socket %d timed out while waiting for client headers", csp->cfd);
{
log_error(LOG_LEVEL_CONNECT,
"Socket %d timed out while waiting for client headers", csp->cfd);