mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
Fix bug with reused file descriptors (#471)
* Fix bug with reused file descriptors * Remove client connection if write_object_chunk fails * Handle ECONNRESET on unsuccessful write * lint * Back to lowercase * fix compilation * fix linting
This commit is contained in:
committed by
Philipp Moritz
parent
2bbfc5da8d
commit
e50a23b820
@@ -60,7 +60,7 @@ void event_loop_destroy(event_loop *loop);
|
||||
* argument to the handler. Currently there can only be one handler per file.
|
||||
* The events parameter specifies which events we listen to: EVENT_LOOP_READ
|
||||
* or EVENT_LOOP_WRITE. */
|
||||
void event_loop_add_file(event_loop *loop,
|
||||
bool event_loop_add_file(event_loop *loop,
|
||||
int fd,
|
||||
int events,
|
||||
event_loop_file_handler handler,
|
||||
|
||||
Reference in New Issue
Block a user