From a0ae11d92d5174c55556b471b5037337f1e8cc9c Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Wed, 21 Jan 2009 11:17:34 +0000 Subject: Fixed Dl-Limit (long standing APT bug that they won't acknowledge), specified error messages for HTTP status codes, and added support for download timeouts. git-svn-id: http://svn.telesphoreo.org/trunk@534 514c082c-b64e-11dc-b46d-3d985efe055d --- data/apt/dllimit.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/apt/dllimit.diff (limited to 'data/apt/dllimit.diff') diff --git a/data/apt/dllimit.diff b/data/apt/dllimit.diff new file mode 100644 index 000000000..367c73006 --- /dev/null +++ b/data/apt/dllimit.diff @@ -0,0 +1,12 @@ +diff -ru apt-0.6.46.4.1/apt-pkg/acquire.cc apt-0.6.46.4.1+iPhone/apt-pkg/acquire.cc +--- apt-0.6.46.4.1/apt-pkg/acquire.cc 2006-12-04 14:37:34.000000000 +0000 ++++ apt-0.6.46.4.1+iPhone/apt-pkg/acquire.cc 2009-01-21 10:47:16.000000000 +0000 +@@ -268,7 +286,7 @@ + return 0; + + /* if a method uses DownloadLimit, we switch to SingleInstance mode */ +- if(_config->FindI("Acquire::"+Access+"::DlLimit",0) > 0) ++ if(_config->FindI("Acquire::"+Access+"::Dl-Limit",0) > 0) + Conf->SingleInstance = true; + + return Conf; -- cgit v1.2.3