From 40c800e5fcd032ada1c5b0ac22edaa250edf96ca Mon Sep 17 00:00:00 2001 From: cui Date: Sun, 15 Mar 2026 22:13:52 +0800 Subject: [PATCH] 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. --- src/unix/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/stream.c b/src/unix/stream.c index 08a18314b..31f22136e 100644 --- a/src/unix/stream.c +++ b/src/unix/stream.c @@ -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;