net_socket: notify of socket errors immediately when selected
This commit is contained in:
parent
03f60b036c
commit
2d5706f792
@ -905,7 +905,8 @@ socket_request_notification(net_socket* _socket, uint8 event, selectsync* sync)
|
||||
break;
|
||||
}
|
||||
case B_SELECT_ERROR:
|
||||
// TODO: B_SELECT_ERROR condition!
|
||||
if (socket->error != B_OK)
|
||||
notify_select_event(sync, event);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user