summaryrefslogtreecommitdiffstats
path: root/doc/asciidoc.conf
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-16 03:10:04 +0100
committerAllan McRae <allan@archlinux.org>2013-01-17 13:32:54 +0100
commit132e1ac10c7fef54372f4d8119b6cc3e82d2c957 (patch)
treedb6c37a76fd44e2ee37ee4f31ece45e073e2e2cd /doc/asciidoc.conf
parentc628d649f6568fc2627c685add09fc4024e87e4b (diff)
downloadpacman-132e1ac10c7fef54372f4d8119b6cc3e82d2c957.tar.gz
pacman-132e1ac10c7fef54372f4d8119b6cc3e82d2c957.tar.xz
dload: avoid showing progress bars on some redirects
RFC 2616 doesn't forbid a 301 or 302 repsonse from having a body, and servers exist in the wild that show this behavior. In order to prevent pacman from showing a progress bar when we aren't actually downloading a package (and merely following one of these pain in the butt redirects), capture the server response code in the response header, rather than waiting to peel it off the handle after the download has finished. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Reported-by: Alexandre Filgueira <alexfilgueira@cinnarch.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/asciidoc.conf')
0 files changed, 0 insertions, 0 deletions