From 2fc09a90e7e62a4c3e4a67506bf90fcf4c6ccfaf Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 26 May 2018 21:28:55 +0200 Subject: Remove unused time-tracking from http method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Stats method isn't called anywhere, was partly commented out before, but we keep updating the time for it – lets avoid this pointless busywork. Gbp-Dch: Ignore --- methods/http.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'methods/http.h') diff --git a/methods/http.h b/methods/http.h index d511196e3..ae6cedc13 100644 --- a/methods/http.h +++ b/methods/http.h @@ -36,7 +36,6 @@ class CircleBuf std::string OutQueue; unsigned long long StrPos; unsigned long long MaxGet; - struct timeval Start; static unsigned long long BwReadLimit; static unsigned long long BwTickReadData; @@ -85,8 +84,6 @@ class CircleBuf bool WriteSpace() const {return InP - OutP > 0;}; void Reset(); - // Dump everything - void Stats(); CircleBuf(HttpMethod const * const Owner, unsigned long long Size); ~CircleBuf(); -- cgit v1.2.3