~ruther/guix-local

c822fb8e3467c86f47a93710761fff1a30e7195b — Ludovic Courtès 11 years ago 0ffcf7c
download: Reinstate buffering on connection sockets.

* guix/build/download.scm (open-connection-for-uri): Reinstate call to
  'setvbuf' inadvertently removed in d17551d9.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/build/download.scm
M guix/build/download.scm => guix/build/download.scm +3 -0
@@ 218,6 218,9 @@ host name without trailing dot."
                         (thunk)))))))
    (with-https-proxy
     (let ((s (open-socket-for-uri uri)))
       ;; Buffer input and output on this port.
       (setvbuf s _IOFBF %http-receive-buffer-size)

       (if https?
           (tls-wrap s (uri-host uri))
           s)))))