1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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

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;