| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Servers might respond with a complete file either because they don't
support Ranges at all or the If-Range condition isn't statisfied, so we
have to parse the headers curl gets ourself to seek or truncate the file
we have so far.
This also finially adds the testcase testing a bunch of partial
situations for both, http and https - which is now all green.
Closes: 617643, 667699
LP: 1157943
|
|
|
|
|
|
|
| |
As lengthy discussed in lp:1157943 partial https support was utterly
broken as a 206 response was handled as an (unhandled) error. This is
the first part of fixing it by supporting a 206 response and starting to
deal with 416.
|
| |
|
|\ |
|
| |
| |
| |
| | |
(closes: #705648)
|
|/
|
|
| |
- reuse connection in https, thanks to Thomas Bushnell, BSG for the
patch. LP: #1087543, Closes: #695359
|
| |
|
|
|
|
| |
to the more standard PACKAGE_VERSION and make it work in every file
|
|
|
|
|
| |
- if a file without an extension is requested send an 'Accept: text/*'
header to avoid that the server chooses unsupported compressed files
in a content-negotation attempt (Closes: #657560)
|
|
|
|
|
| |
- use curls list append instead of appending Range and If-Range by hand
which generates malformed requests, thanks Mel Collins for the hint!
(Closes: #646381)
|
|
|
|
| |
on the FileFd instead
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
- fix fetching language information by adding OptionalSubIndexTarget
* methods/https.cc:
- cleanup broken downloads properly
* ftparchive/cachedb.cc:
- fix buffersize in bytes2hex
* apt-pkg/deb/deblistparser.cc:
- fix crash when the dynamic mmap needs to be grown in
LoadReleaseInfo (LP: #854090)
|
| | |
| | |
| | | |
- cleanup broken downloads properly
|
|/ / |
|
| |
| |
| |
| | |
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
|
|/ |
|
|
|
| |
- fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* spot & fix various typos in all manpages
* German manpage translation update
* cmdline/apt-cache.cc:
- remove translatable marker from the "%4i %s\n" string
* buildlib/po4a_manpage.mak:
- instruct debiandoc to build files with utf-8 encoding
* buildlib/tools.m4:
- fix some warning from the buildtools
* apt-pkg/acquire-item.cc:
- add configuration PDiffs::Limit-options to not download
too many or too big patches (Closes: #554349)
* debian/control:
- let all packages depend on ${misc:Depends}
* share/*-archive.gpg:
- remove the horrible outdated files. We already depend on
the keyring so we don't need to ship our own version
* cmdline/apt-key:
- errors out if wget is not installed (Closes: #545754)
- add --keyring option as we have now possibly many
* methods/gpgv.cc:
- pass all keyrings (TrustedParts) to gpgv instead of
using only one trusted.gpg keyring (Closes: #304846)
* methods/https.cc:
- finally merge the rest of the patchset from Arnaud Ebalard
with the CRL and Issuers options, thanks! (Closes: #485963)
|
|\ |
|
| |
| |
| |
| | |
otherwise in the Configuration class.
|
| |
| |
| |
| |
| | |
method as this is more sane than using only the http options without
a possibility to override these for https.
|
|/
|
|
| |
thanks Timothy J. Miller! (Closes: #355782)
|
|\ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
/etc/apt/auth.conf that can be used to store username/passwords
in a "netrc" style file (with the extension that it supports "/"
in a machine definition). Based on the maemo git branch.
* apt-pkg/deb/dpkgpm.cc:
- add "purge" to list of known actions
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
/etc/apt/auth.conf that can be used to store username/passwords
in a "netrc" style file (with the extension that it supports "/"
in a machine definition). Based on the maemo git branch.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- check for hostname and then host+path
- better debug output
* methods/https.cc:
- fix bug in netrc integration
|
| | | | |
|
| | | | |
|
|\| | |
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- add output about pre-depends configuring when debug::pkgPackageManager
is used
* methods/https.cc:
- fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972
thanks to Brian Thomason for the patch
* apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:
- typo fix (LP: #462328)
* cmdline/apt-key:
- Emit a warning if removed keys keyring is missing and skip associated
checks (LP: #218971)
|
| | | |
|
| |/
| |
| |
| | |
- fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972
thanks to Brian Thomason for the patch
|
|/
|
| |
patch by Jussi Hakala <jussi.hakala@hut.fi>.
|
|\ |
|
| |
| |
| |
| | |
code.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| | |
- add Acquire::https::AllowRedirect support
|
| | |
|
| | |
|
|/
|
|
|
| |
checking (thanks to Arnaud Ebalard, closes: #485960)
* allow per-mirror specific https settings
(thanks to Arnaud Ebalard, closes: #485965)
|
| |
|
|
|
|
|
| |
- delete zero size I-M-S hits
- fix of-by-one error in I-M-S code
|
|
|
| |
Ryan Murray <rmurray@debian.org> for the patch (closes: #437150)
|
|\
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| |
| | |
- 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/
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
- 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;
|
|
|
|
| |
- implemented various cert verification options
|
|
|