projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f65c5d
)
Revert "receive_and_send_encrypted_post_data(): Additionally check for data being...
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 7 Jan 2023 09:10:40 +0000
(10:10 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 7 Jan 2023 09:20:49 +0000
(10:20 +0100)
It caused a HTTPS inspection performance regression:
https://lists.privoxy.org/pipermail/privoxy-devel/2023-January/000579.html
This reverts commit
4610ab9d935495d08acbb7e82bf251c18848f56c
.
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
61fc1ac
..
4b69424
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-2345,9
+2345,8
@@
static int receive_and_send_encrypted_post_data(struct client_state *csp)
{
int content_length_known = csp->expected_client_content_length != 0;
- while ((content_length_known && csp->expected_client_content_length != 0) ||
- (is_ssl_pending(&(csp->ssl_client_attr)) ||
- data_is_available(csp->cfd, csp->config->socket_timeout)))
+ while (is_ssl_pending(&(csp->ssl_client_attr))
+ || (content_length_known && csp->expected_client_content_length != 0))
{
unsigned char buf[BUFFER_SIZE];
int len;