summaryrefslogtreecommitdiff
path: root/methods/http_main.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()Michael Vogt2014-10-131-1/+0
| | | | | | | | Do not drop privileges in the methods when using a older version of libapt that does not support the chown magic in partial/ yet. To do this DropPrivileges() now will ignore a empty Apt::Sandbox::User. Cleanup all hardcoded _apt along the way.
* releasing package apt version 1.1~exp3Michael Vogt2014-09-241-0/+1
|
* methods: Fail if we cannot drop privilegesJulian Andres Klode2014-09-241-2/+2
|
* Drop Privileges to "Debian-apt" in most acquire methodsMichael Vogt2014-09-241-1/+3
| | | | | | | | | Add a new "Debian-apt" user that owns the /var/lib/apt/lists and /var/cache/apt/archive directories. The methods http, https, ftp, gpgv, gzip switch to this user when they start. Thanks to Julian and "ioerror" and tors "switch_id()" code.
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-5/+0
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+2
|
* * apt-pkg/acquire-worker.cc:Michael Vogt2009-07-141-0/+5
| | | | | | | | - 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)
* * prototype of mirror method addedMichael Vogt2006-11-291-0/+15