Commit Graph

10 Commits

Author SHA1 Message Date
Michael Vogt 42e9340ee7 * merge patch that enforces stricter https server certificate
checking (thanks to Arnaud Ebalard, closes: #485960)
* allow per-mirror specific https settings
  (thanks to Arnaud Ebalard, closes: #485965)
* add doc/examples/apt-https-method-example.cof
  (thanks to Arnaud Ebalard, closes: #485964)
2008-07-25 19:57:08 +02:00
Otavio Salvador cc615257a9 Add timeout support for https. 2008-05-02 12:26:17 -03:00
Michael Vogt d6039f9e73 methods/https.cc:
- delete zero size I-M-S hits
- fix of-by-one error in I-M-S code
2007-10-05 07:48:13 +02:00
Otavio Salvador 5820530d3d * Reset curl options and timestamp between downloaded files. Thanks to
Ryan Murray <rmurray@debian.org> for the patch (closes: #437150)
2007-08-10 18:05:05 -03:00
Michael Vogt b84fa7158d * apt-pkg/acquire-item.cc:
- remove zero size files on I-M-S hit
* methods/https.cc:
  - only send LastModified if we actually have one
  - send range request with if-range 
  - delete failed downloads
2007-08-03 10:22:24 +02:00
Michael Vogt 4c49961112 * methods/https.cc:
- only send i-m-s if last-modified is > 0
  - instead of resume send a range: if-range: custom header
  - merge 304 detection patch from thom may (thanks!)
* apt-pkg/acquire-item.cc:
  - remove empty files on i-m-s hits from partial/
2007-08-02 19:23:41 +02:00
Otavio Salvador ae58a98599 Minor typos. 2007-07-10 15:14:57 -03:00
Otavio Salvador 21fd1746e3 * Fix compilation warnings:
- apt-pkg/contrib/configuration.cc: wrong argument type;
    - apt-pkg/deb/dpkgpm.cc: wrong signess;
    - apt-pkg-acquire-item.cc: wrong signess and orderned initializers;
    - methods/https.cc:
      - type conversion;
      - unused variable;
      - changed SetupProxy() method to void;
2007-07-10 15:06:12 -03:00
Michael Vogt 714ee06cb1 * methods/https.cc:
- implemented various cert verification options
2006-12-19 13:11:26 +01:00
Michael Vogt d546f98d46 * added https transport method as optional pacakge 2006-12-19 12:03:30 +01:00