summary refs log tree commit diff
path: root/gnu/packages.scm
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 /gnu/packages.scm
parent38e16b49073dd9ea81c3320a84708c4b4d7c60e6 (diff)
downloadguix-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 'gnu/packages.scm')
0 files changed, 0 insertions, 0 deletions