From: Fabian Keil Date: Sat, 6 Mar 2021 09:28:59 +0000 (+0100) Subject: continue_https_chat(): Update csp->server_connection.request_sent X-Git-Tag: v_3_0_33~106^2~9 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=cda4f358011b254baa2f09dd264aba7f3b9638a7;p=privoxy.git continue_https_chat(): Update csp->server_connection.request_sent ... after sending the request to make sure the latency is calculated correctly. Previously https connections were not reused after timeout seconds after the first request made on the connection. --- diff --git a/jcc.c b/jcc.c index 58af472e..ee408b3c 100644 --- a/jcc.c +++ b/jcc.c @@ -2972,6 +2972,7 @@ static void continue_https_chat(struct client_state *csp) csp->cfd); return; } + csp->server_connection.request_sent = time(NULL); csp->server_connection.requests_sent_total++; handle_established_connection(csp); freez(csp->receive_buffer);