summaryrefslogtreecommitdiff
path: root/src/url.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-24modifications for the previous commit in error message handlingTimo Teräs1-1/+1
forgot to --amend my changes
2015-04-13fix error mapping typesTimo Teräs1-1/+1
on arm char is by default unsigned, so this caused crashes as the ERR_PTR mechanism did not work as expected with unsigned types. extend the array type to be signed short explicitly.
2015-03-10rework error handling for read streamsTimo Teräs1-6/+31
2014-10-08url: fix double free from late libfetch changesTimo Teräs1-1/+0
2014-10-08io,url,db: support for if-modified-sinceTimo Teräs1-11/+20
2014-10-08url: use libfetch to retrieve http/https/ftp filesTimo Teräs1-55/+44
2014-04-10url: double-fallback to static busyboxTimo Teräs1-0/+1
2013-10-01db, url: fix exec sentinelsTimo Teräs1-2/+2
http://ewontfix.com/11/
2013-06-18url: fix fetching from local repositoriesNatanael Copa1-3/+3
2013-06-17url: remove unused apk_url_downloadTimo Teräs1-33/+0
2013-06-17io: fix splice for copying unknown lengthsTimo Teräs1-6/+6
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2011-05-27db: more fix for read-only cache remountingTimo Teräs1-0/+1
remount to read-write before trying to create the cache directory subdirs. fix a fd leak that might prevent remounting back to rw.
2011-03-11url: try wget from $PATH first and fallback to busybox wgetNatanael Copa1-0/+4
If GNU wget is available, then we want use it as it gives the user possibility to set misc options, such as bandwidth limit in wgetrc. It might also be that busybox is not available in case bootstrapping alpine from other distros (think debian vserver host creating an alpine guest) In any case we, fall back to busybox wget in case wget libs are getting upgraded. (see http://redmine.alpinelinux.org/issues/347)
2011-01-01url: use always busybox wgetTimo Teräs1-1/+1
I think there used to be problems with using http_proxy on bb wget, but those have been fixed for quite some time. This fixes #347. We should probably use libcurl or similar library eventually, but I'm not entirely sure if/when we want that.
2010-12-09io: enhance istream/bstreams with pipe to forked childTimo Teräs1-5/+37
* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly
2009-07-31apk: use *at instead of chdir+normal file syscallTimo Teras1-9/+12
this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used.
2009-07-16gzip: always autoclose the inner streamTimo Teras1-2/+2
2009-04-21url: rename to .backup rather than unlink before wgetNatanael Copa1-1/+3
2009-04-21url: unlink file before trying to downloadNatanael Copa1-0/+1
2009-04-16db: cache index files, 'update' appletTimo Teras1-4/+30
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.
2009-01-16url: allow wget report error messagesNatanael Copa1-2/+1
2009-01-15db: index file location is a URLTimo Teras1-0/+6
2008-11-28io: prepartions for url handlingTimo Teras1-0/+75