[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile 2.0.5, HTTP downloads, and progress reports
From: |
Ludovic Courtès |
Subject: |
Guile 2.0.5, HTTP downloads, and progress reports |
Date: |
Tue, 20 Aug 2013 14:46:08 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Hello,
I just realized that users of Guile 2.0.5 are observing weird behavior
when substituting binaries: the substituter would remain silent, write
“the server is unresponsive”, then remain silent some more, and finally
write tens of lines of “progress report” in a row when it’s done
downloading.
This is because 2.0.5’s HTTP client would return directly all of the
downloaded data, instead of returning an input port, making it
impossible to implement a progress report. (guix http-client) hides
that, hence the behavior above.
I really recommend upgrading Guile anyway, since 2.0.5 is 1.5 year old.
We still want to support it though (because some distros still have
that), but I’m not sure we can do much better. Well, we could do
better by shipping the (web ...) modules from Guile 2.0.9 when we detect
an old Guile, but that sounds overkill to me.
Thoughts?
Ludo’.
- Guile 2.0.5, HTTP downloads, and progress reports,
Ludovic Courtès <=
- Re: Guile 2.0.5, HTTP downloads, and progress reports, Ludovic Courtès, 2013/08/21
- Re: Guile 2.0.5, HTTP downloads, and progress reports, Andreas Enge, 2013/08/21
- Re: Guile 2.0.5, HTTP downloads, and progress reports, Ludovic Courtès, 2013/08/21
- Re: Guile 2.0.5, HTTP downloads, and progress reports, Andreas Enge, 2013/08/21
- Re: Guile 2.0.5, HTTP downloads, and progress reports, Ludovic Courtès, 2013/08/23