summaryrefslogtreecommitdiff
path: root/guix/store.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-25 01:31:15 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-25 01:31:15 +0200
commit884af1b4ecb0c6ede9fb431105c5c931d1bd1619 (patch)
tree8ed15c02e02c6e194747e20f8f9934bd2cefe576 /guix/store.scm
parent4b2615e1cae8e21df8f180abf261d1dc22a2459e (diff)
store: Remove misleading 'setsockopt' call.
* guix/store.scm (open-connection): Remove misleading 'setsockopt' call, erroneously introduced in df1fab58. This would actually shrink the receive buffer from 124 KiB to 12 KiB, though it had little impact on performance.
Diffstat (limited to 'guix/store.scm')
-rw-r--r--guix/store.scm10
1 files changed, 0 insertions, 10 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 864303ddb3..0c99e623ec 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -291,16 +291,6 @@ operate, should the disk become full. Return a server object."
(a (make-socket-address PF_UNIX file)))
(catch 'system-error
- (lambda ()
- ;; Enlarge the receive buffer.
- (setsockopt s SOL_SOCKET SO_RCVBUF (* 12 1024)))
- (lambda args
- ;; On the Hurd, the pflocal server's implementation of `socket_setopt'
- ;; always returns ENOPROTOOPT. Ignore it.
- (unless (= (system-error-errno args) ENOPROTOOPT)
- (apply throw args))))
-
- (catch 'system-error
(cut connect s a)
(lambda args
;; Translate the error to something user-friendly.