X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/dab94dcbda14af5ba452858d0ba7d48866f3b8d6..4bec02c237e8e218bc7d4bcf7142e0450480138b:/methods/https.h?ds=sidebyside diff --git a/methods/https.h b/methods/https.h index 2c33d95ee..3f0c416b6 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);