revet changes to uv-common

This commit is contained in:
Edy Silva 2026-03-10 15:45:51 -03:00
parent 2ad029bfbd
commit 12ebe23eb2

View File

@ -928,7 +928,7 @@ int uv_read_start(uv_stream_t* stream,
if (stream->flags & UV_HANDLE_CLOSING)
return UV_EINVAL;
if (stream->read_cb != NULL)
if (stream->flags & UV_HANDLE_READING)
return UV_EALREADY;
if (!(stream->flags & UV_HANDLE_READABLE))