Commit Graph

19 Commits

Author SHA1 Message Date
Michael Vogt 1de1f70383 add maybe_add_auth for ftp as well 2009-10-16 15:42:05 +02:00
Michael Vogt 592b78001c port netrc support from maemon 2009-10-16 15:36:28 +02:00
Michael Vogt 889053489a merged from the jackyf-devel branch 2009-08-19 11:27:00 +02:00
Michael Vogt 668ce84da0 * methods/https.cc:
- add Acquire::https::AllowRedirect support
2009-02-03 14:10:36 +01:00
Michael Vogt cb3cc4806c methods/https.cc: do not unlink partial files (thanks to robbiew) 2009-02-03 10:50:32 +01:00
Eugene V. Lyubimkin 788a8f42c1 Make apt proxy options have the highest priority, unified proxy determining code. 2008-12-15 21:17:39 +02:00
Michael Vogt 3c8cda8b05 fix various -Wall warnings 2008-10-28 18:14:29 +01:00
Michael Vogt 9b5d79ec68 fix various -Wall warnings 2008-08-05 10:52:09 +02:00
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
Michael Vogt c769cd6fdc * 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)
2008-07-25 19:37:19 +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