aboutsummaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-06 23:45:38 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-06 23:51:04 +0200
commitcf4e7083ed1bc89b9585f0121ebb6c56c291d0ad (patch)
tree64820fa49509119367d02f6194519a75f361c792 /daemon.am
parent38e16b49073dd9ea81c3320a84708c4b4d7c60e6 (diff)
downloadpatches-cf4e7083ed1bc89b9585f0121ebb6c56c291d0ad.tar
patches-cf4e7083ed1bc89b9585f0121ebb6c56c291d0ad.tar.gz
publish: Fix file descriptor leak.
A client closing the connection while reading from a /nar URL would leave an open file descriptor in the server. This patch fixes it. * guix/scripts/publish.scm (swallow-EPIPE): New macro. (http-write): Use it around 'write-file' call.
Diffstat (limited to 'daemon.am')
0 files changed, 0 insertions, 0 deletions