diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-06 23:45:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-06 23:51:04 +0200 |
commit | cf4e7083ed1bc89b9585f0121ebb6c56c291d0ad (patch) | |
tree | 64820fa49509119367d02f6194519a75f361c792 /emacs | |
parent | 38e16b49073dd9ea81c3320a84708c4b4d7c60e6 (diff) | |
download | guix-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 'emacs')
0 files changed, 0 insertions, 0 deletions