diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-11-22 22:11:06 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-11-22 22:11:06 +0000 |
commit | 7c6e2dc761f736bf203f7770f7a1c4a63f7063d4 (patch) | |
tree | 9dc397a4779e2eae6b99e409961973878c870b4a /methods/http.h | |
parent | 46e00f9d71300f3a80a4a311e369e64a48ce396f (diff) |
* merged http download limit for apt (#146877)
Diffstat (limited to 'methods/http.h')
-rw-r--r-- | methods/http.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/methods/http.h b/methods/http.h index c5a4d0e86..541e2952c 100644 --- a/methods/http.h +++ b/methods/http.h @@ -31,6 +31,11 @@ class CircleBuf unsigned long MaxGet; struct timeval Start; + static unsigned long BwReadLimit; + static unsigned long BwTickReadData; + static struct timeval BwReadTick; + static const unsigned int BW_HZ; + unsigned long LeftRead() { unsigned long Sz = Size - (InP - OutP); |