From 7fabe1f14fc30a3de5f71af0b0e1264376bc0466 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 24 May 2014 00:27:52 +1000 Subject: [PATCH] With sigpipe masked, interrupted send calls are likely fatal --- src/connector.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/connector.c b/src/connector.c index 0ef18cdf..e38cf242 100644 --- a/src/connector.c +++ b/src/connector.c @@ -366,8 +366,6 @@ void *sender(void *arg) while (sender_send->len) { ret = send(fd, sender_send->buf + ofs, sender_send->len , 0); if (unlikely(ret < 0)) { - if (interrupted()) - continue; LOGWARNING("Client id %d disconnected", client->id); invalidate_client(ckp, ci, client); break;