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:
parent
cc643bd751
commit
9675bd7475
1 changed files with 0 additions and 3 deletions
|
@ -418,9 +418,6 @@ Ref<StreamSocket> Manager::Accept(StreamSocket* socket, ioctx_t* ctx,
|
||||||
return Ref<StreamSocket>(NULL);
|
return Ref<StreamSocket>(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
client->outgoing.SetSIGPIPEDelivery(false);
|
|
||||||
server->outgoing.SetSIGPIPEDelivery(false);
|
|
||||||
|
|
||||||
client->is_connected = true;
|
client->is_connected = true;
|
||||||
server->is_connected = true;
|
server->is_connected = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue