summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
AgeCommit message (Collapse)Author
2014-02-14allow http protocol to switch to httpsDavid Kalnischkies
switch protocols at random is a bad idea if e.g. http can switch to file, so we limit the possibilities to http to http and http to https. As very few people (less than 1% according to popcon) have https installed this likely changes nothing in terms of failure. The commit is adding a friendly hint which package needs to be installed though.
2013-05-08properly handle if-modfied-since with libcurl/https Michael Vogt
(closes: #705648)
2012-05-14* apt-pkg/acquire*.cc:Raphael Geissert
- handle redirections in the worker with the right method instead of in the method the redirection occured in (Closes: #668111) * methods/http.cc: - forbid redirects to change protocol
2012-05-07* apt-pkg/acquire-worker.cc:YOSHINO Yoshihito
- revert the use of FileFd::Write in OutFdReady as we don't want error reports about EAGAIN here as we retry later. Thanks to YOSHINO Yoshihito for the report. (Closes: #671721)
2012-04-22* apt-pkg/acquire-worker.cc:David Kalnischkies
- use Dump() to generate the configuration message for sending
2012-04-11use a static FileFd::Write overload to reduce duplication of write()-retry codeDavid Kalnischkies
2012-03-20* apt-pkg/acquire-worker.cc:David Kalnischkies
- check return of write() as gcc recommends * apt-pkg/acquire.cc: - check return of write() as gcc recommends * apt-pkg/cdrom.cc: - check return of chdir() and link() as gcc recommends * apt-pkg/clean.cc: - check return of chdir() as gcc recommends * apt-pkg/contrib/netrc.cc: - check return of asprintf() as gcc recommends
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-07-05* apt-pkg/acquire*.{cc,h}:David Kalnischkies
- try even harder to support really big files in the fetcher by converting (hopefully) everything to 'long long' (Closes: #632271)
2011-04-26* apt-pkg/acquire-worker.cc:David Kalnischkies
- print filename in the unmatching size warning (Closes: #623137)
2011-03-14* mirror method:Michael Vogt
- when downloading data, show the mirror being used
2009-07-02* apt-pkg/acquire-worker.cc:Michael Vogt
- show error details of failed methods * apt-pkg/contrib/fileutl.cc: - if a process aborts with signal, show signal number * methods/http.cc: - ignore SIGPIPE, we deal with EPIPE from write in HttpMethod::ServerDie() (LP: #385144)
2009-01-30[ABI break] merge support for http redirects, thanks toMichael Vogt
Jeff Licquia and Anthony Towns
2008-01-07* apt-pkg/acquire-worker.cc, methods/connect.cc:Michael Vogt
- consider a ResolveError a transient-network problem
2007-08-08* apt-pkg/acquire-worker.cc:Michael Vogt
- only pass a hash if we actually got one from the method * methods/copy.cc: - take hashes here too (*sigh*)
2007-07-30* apt-pkg/acquire-item.{cc,h}:Michael Vogt
- rename "hash" into ExpectedHash in pkgAcqFile, pkgAcqIndex - add missing HashSum() call to class pkgAcqIndex - use the data provided by acquire-method (and send via the {SHA256,SHA1,MD5Sum}-Hash tag when comparing the hash, this avoids calculating the hash twice (just like old libapt) * apt-pkg/acquire-method.cc: - send MD5Sum-Hash tag to libapt to be consistant with HashString::SupportedHashes() * apt-pkg/acquire-worker.cc: - check with "Owner->HashSum().HashType()" what hash the frontend is expecting and pass it to pkgAcquireItem::Done() in the new HashString format - add some debugging output * apt-pkg/contrib/hashes.cc: - fix off-by-one error when constructing a HashString from a single input string * apt-pkg/contrib/hashes.h: - add "HashType()" method * apt-pkg/init.h, apt-pkg/makefile, methods/makefile: - break ABI
2007-06-09* merged the remaining bits from the apt--no-pragma branchMichael Vogt
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2006-02-21* more work for the DefaultAptSources specMichael Vogt
apt-pkg/acquire-item.h: - add new pkgAcquire::Item::StatTransientNetworkError status apt-pkg/acquire-item.cc: - if we get a StatTransientNetworkError use old sigfile and indexfiles apt-pkg/acquire-worker.cc: - set StatTransientNetworkError on "Timeout", "TmpResolveFailure", "ConnectionRefused" cmdline/apt-get.cc: - handle a StatTransientNetworkError different than a normal error (warning instead of error)
2005-08-31* include a human readable string for the MediaChange status-fd message as wellMichael Vogt
2005-08-31* meda-change message is send over status-fd nowMichael Vogt
2004-09-20G++3 fixes from RandolphArch Librarian
Author: jgg Date: 2001-05-22 04:42:54 GMT G++3 fixes from Randolph
2004-09-20More snprintf stuffArch Librarian
Author: jgg Date: 2001-03-23 01:47:14 GMT More snprintf stuff
2004-09-20Join with aliencodeArch Librarian
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20Typo in Algorithms.cc. Closes: #63577Arch Librarian
Author: jgg Date: 2000-05-10 05:56:23 GMT Typo in Algorithms.cc. Closes: #63577
2004-09-20Bug fixes, new major versionArch Librarian
Author: jgg Date: 2000-01-27 04:15:09 GMT Bug fixes, new major version
2004-09-20More CD fixesArch Librarian
Author: jgg Date: 2000-01-17 07:11:49 GMT More CD fixes
2004-09-20CDROMs are unmountedArch Librarian
Author: jgg Date: 1999-10-18 00:37:35 GMT CDROMs are unmounted
2004-09-20Fixed sign conversionArch Librarian
Author: jgg Date: 1999-08-28 01:49:07 GMT Fixed sign conversion
2004-09-20Random fixes..Arch Librarian
Author: jgg Date: 1999-08-03 05:19:41 GMT Random fixes..
2004-09-20Small segv bug fixArch Librarian
Author: jgg Date: 1999-08-03 02:25:38 GMT Small segv bug fix
2004-09-20Fixed up dpkginit and acquire stuff..Arch Librarian
Author: jgg Date: 1999-07-30 05:36:52 GMT Fixed up dpkginit and acquire stuff..
2004-09-20Minor cleanups, fix for checksum lowercase bugArch Librarian
Author: jgg Date: 1999-07-26 17:46:07 GMT Minor cleanups, fix for checksum lowercase bug
2004-09-20Fixed the cps resume problemArch Librarian
Author: jgg Date: 1999-05-23 06:47:43 GMT Fixed the cps resume problem
2004-09-20Working apt-get source build stuffArch Librarian
Author: jgg Date: 1999-04-20 05:02:09 GMT Working apt-get source build stuff
2004-09-20Signal safetyArch Librarian
Author: jgg Date: 1999-03-16 00:43:55 GMT Signal safety
2004-09-20Retry supportArch Librarian
Author: jgg Date: 1999-01-30 08:08:54 GMT Retry support
2004-09-20Moved strutl.hArch Librarian
Author: jgg Date: 1999-01-27 02:48:52 GMT Moved strutl.h
2004-09-20Hide hit for local urisArch Librarian
Author: jgg Date: 1999-01-20 05:11:25 GMT Hide hit for local uris
2004-09-20Havocs _exitArch Librarian
Author: jgg Date: 1998-12-14 06:54:41 GMT Havocs _exit
2004-09-20Fixed cdrom method problemsArch Librarian
Author: jgg Date: 1998-12-05 01:45:19 GMT Fixed cdrom method problems
2004-09-20CDROM supportArch Librarian
Author: jgg Date: 1998-12-04 21:16:46 GMT CDROM support
2004-09-20Minor Acquire cleanupArch Librarian
Author: jgg Date: 1998-11-29 01:24:14 GMT Minor Acquire cleanup
2004-09-20Local file fixesArch Librarian
Author: jgg Date: 1998-11-14 01:39:41 GMT Local file fixes
2004-09-20More or less working acquire systemArch Librarian
Author: jgg Date: 1998-11-09 01:09:19 GMT More or less working acquire system
2004-09-20Working acquire codeArch Librarian
Author: jgg Date: 1998-11-05 07:21:35 GMT Working acquire code
2004-09-20New http methodArch Librarian
Author: jgg Date: 1998-11-01 05:27:29 GMT New http method
2004-09-20SyncArch Librarian
Author: jgg Date: 1998-10-30 07:53:30 GMT Sync
2004-09-20Stable acquire codeArch Librarian
Author: jgg Date: 1998-10-26 07:11:43 GMT Stable acquire code