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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue