projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy
[apt.git]
/
methods
/
https.h
diff --git
a/methods/https.h
b/methods/https.h
index 2c33d95ee10db3d6e0e1590b1e3cf7c1483639ad..3f0c416b6c9d5638faf9364a50c68cc932d0f8ae 100644
(file)
--- a/
methods/https.h
+++ b/
methods/https.h
@@
-24,6
+24,8
@@
class HttpsMethod;
class HttpsMethod : public pkgAcqMethod
{
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);
virtual bool Fetch(FetchItem *);
static size_t write_data(void *buffer, size_t size, size_t nmemb, void *userp);