From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 10 Sep 2020 13:09:11 +0000 (+0200)
Subject: continue_https_chat(): Increment csp->server_connection.requests_sent_total
X-Git-Tag: v_3_0_29~149
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/@proxy-info-url@?a=commitdiff_plain;h=aa9bd90e175209536a5e68021791702cc15b1ce9;p=privoxy.git

continue_https_chat(): Increment csp->server_connection.requests_sent_total

... after sending a request over a reused connection.
---

diff --git a/jcc.c b/jcc.c
index 4db217f2..1a23902f 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2528,6 +2528,7 @@ static void continue_https_chat(struct client_state *csp)
          csp->cfd);
       return;
    }
+   csp->server_connection.requests_sent_total++;
    handle_established_connection(csp);
    freez(csp->receive_buffer);
 }