continue_https_chat(): Increment csp->server_connection.requests_sent_total
authorFabian Keil <fk@fabiankeil.de>
Thu, 10 Sep 2020 13:09:11 +0000 (15:09 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:39 +0000 (16:35 +0200)
... after sending a request over a reused connection.

jcc.c

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