HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffcf7c
)
download: Reinstate buffering on connection sockets.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 6 May 2015 07:50:15 +0000
(09:50 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 6 May 2015 07:50:15 +0000
(09:50 +0200)
* guix/build/download.scm (open-connection-for-uri): Reinstate call to
'setvbuf' inadvertently removed in
d17551d9
.
guix/build/download.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/build/download.scm
b/guix/build/download.scm
index
2e0b019
..
7b8e1aa
100644
(file)
--- a/
guix/build/download.scm
+++ b/
guix/build/download.scm
@@
-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)))))