Some patchwork I've had on a branch for too long now, and some newer code that I'd like to get out in the open. I'm sure there's edge cases for my edge cases that I haven't thought of. The latter two patches are cleanup, and the beginning of a new struct which will hopefully (eventually) let us move download progress calculations to the back end. Test it, break it, tell me it sucks. Dave Reisner (4): dload: handle irregular URLs lib/dload: prevent large file attacks absorb some _alpm_download params into payload struct absorb fileinfo struct into dload_payload lib/libalpm/be_sync.c | 30 ++++-- lib/libalpm/dload.c | 281 ++++++++++++++++++++++++++++++++++--------------- lib/libalpm/dload.h | 17 ++- lib/libalpm/sync.c | 32 ++++-- 4 files changed, 249 insertions(+), 111 deletions(-) -- 1.7.6