Ignore EAGAIN errors in read_request.
This commit is contained in:
parent
8b216b3d02
commit
4b29d669fc
|
@ -188,7 +188,7 @@ void read_request( struct thread *thread )
|
||||||
kill_thread( thread, 0 );
|
kill_thread( thread, 0 );
|
||||||
else if (ret > 0)
|
else if (ret > 0)
|
||||||
fatal_protocol_error( thread, "partial read %d\n", ret );
|
fatal_protocol_error( thread, "partial read %d\n", ret );
|
||||||
else
|
else if (errno != EWOULDBLOCK && errno != EAGAIN)
|
||||||
fatal_protocol_perror( thread, "read" );
|
fatal_protocol_perror( thread, "read" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue