unix,stream: verify uv_try_write2 handle (#5035)

Looks like this was simply missed in #3183 because it was a bit outside
the review context window.
This commit is contained in:
cui 2026-03-15 22:13:52 +08:00 committed by GitHub
parent 10902ab616
commit 40c800e5fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1436,7 +1436,7 @@ int uv_try_write2(uv_stream_t* stream,
if (stream->connect_req != NULL || stream->write_queue_size != 0)
return UV_EAGAIN;
err = uv__check_before_write(stream, nbufs, NULL);
err = uv__check_before_write(stream, nbufs, send_handle);
if (err < 0)
return err;