X-Git-Url: https://git.saurik.com/apt-legacy.git/blobdiff_plain/d1238c914321ad94e5b1d30c1bdfdfcbe44e86d6..0e5943eb0a997df086e7e1458873c9274a2d781e:/methods/https.h diff --git a/methods/https.h b/methods/https.h index 2c33d95..3f0c416 100644 --- a/methods/https.h +++ b/methods/https.h @@ -24,6 +24,8 @@ class HttpsMethod; class HttpsMethod : public pkgAcqMethod { + // minimum speed in bytes/se that triggers download timeout handling + static const int DL_MIN_SPEED = 10; virtual bool Fetch(FetchItem *); static size_t write_data(void *buffer, size_t size, size_t nmemb, void *userp);