Deliver SIGPIPE on filesystem socket disconnect.

This fixes the earlier mistake where I believed sockets were not meant to
send SIGPIPE on bad writes, but the standard mandates that sockets do send
SIGPIPE in such cases.
This commit is contained in:
Jonas 'Sortie' Termansen 2014-07-20 15:00:15 +02:00
parent cc643bd751
commit 9675bd7475
1 changed files with 0 additions and 3 deletions

View File

@ -418,9 +418,6 @@ Ref<StreamSocket> Manager::Accept(StreamSocket* socket, ioctx_t* ctx,
return Ref<StreamSocket>(NULL);
}
client->outgoing.SetSIGPIPEDelivery(false);
server->outgoing.SetSIGPIPEDelivery(false);
client->is_connected = true;
server->is_connected = true;