Просмотр исходного кода

* debian/control: increase standards version
* methods/http.cc: revert pipeline depth and move global Proxy to here
* methods/http.h: remove Proxy from here

Michael Vogt лет назад: 19
Родитель
Сommit
c37030c256
3 измененных файлов с 3 добавлено и 4 удалено
  1. 1 1
      debian/control
  2. 2 1
      methods/http.cc
  3. 0 2
      methods/http.h

+ 1 - 1
debian/control

@@ -3,7 +3,7 @@ Section: admin
 Priority: important
 Maintainer: APT Development Team <deity@lists.debian.org>
 Uploaders: Jason Gunthorpe <jgg@debian.org>, Adam Heath <doogie@debian.org>, Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
-Standards-Version: 3.6.2.2
+Standards-Version: 3.7.2.2
 Build-Depends: debhelper (>= 5.0), libdb4.4-dev, gettext (>= 0.12), libcurl3-gnutls-dev (>= 7.15.5)
 Build-Depends-Indep: debiandoc-sgml, docbook-utils (>= 0.6.12-1)
 

+ 2 - 1
methods/http.cc

@@ -55,9 +55,10 @@ using namespace std;
 string HttpMethod::FailFile;
 int HttpMethod::FailFd = -1;
 time_t HttpMethod::FailTime = 0;
-unsigned long PipelineDepth = 8;
+unsigned long PipelineDepth = 10;
 unsigned long TimeOut = 120;
 bool Debug = false;
+URI Proxy;
 
 unsigned long CircleBuf::BwReadLimit=0;
 unsigned long CircleBuf::BwTickReadData=0;

+ 0 - 2
methods/http.h

@@ -158,6 +158,4 @@ class HttpMethod : public pkgAcqMethod
    };
 };
 
-URI Proxy;
-
 #endif