aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-27 15:04:05 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-27 15:08:37 +0100
commitc9727aac405123ecf2ffb26745fa255a76c87e40 (patch)
tree37a4184018b09faf67008963ebd04a404b3ef4af
parent9fbe6f1920f0c16be3d1e7a216c164837e31f0fe (diff)
downloadguix-c9727aac405123ecf2ffb26745fa255a76c87e40.tar
guix-c9727aac405123ecf2ffb26745fa255a76c87e40.tar.gz
download: Comment on lack of progress report with chunked encoding.
* guix/build/download.scm (progress-proc): Add comment.
-rw-r--r--guix/build/download.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm
index 6c94fa0574..a3105ad41d 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -64,6 +64,9 @@ representing it in a human-readable way."
"Return a procedure to show the progress of FILE's download, which is
SIZE byte long. The returned procedure is suitable for use as an
argument to `dump-port'. The progress report is written to LOG-PORT."
+ ;; XXX: Because of <http://bugs.gnu.org/19939> this procedure is often not
+ ;; called as frequently as we'd like too; this is especially bad with Nginx
+ ;; on hydra.gnu.org, which returns whole nars as a single chunk.
(let ((start-time #f))
(let-syntax ((with-elapsed-time
(syntax-rules ()