unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Guile 2.0.5, HTTP downloads, and progress reports
@ 2013-08-20 12:46 Ludovic Courtès
  2013-08-21  9:47 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2013-08-20 12:46 UTC (permalink / raw)
  To: guix-devel

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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-23 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 12:46 Guile 2.0.5, HTTP downloads, and progress reports Ludovic Courtès
2013-08-21  9:47 ` Ludovic Courtès
2013-08-21 10:08   ` Andreas Enge
2013-08-21 12:41     ` Ludovic Courtès
2013-08-21 16:06       ` Andreas Enge
2013-08-23 13:53         ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).