mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
Before a kept-alive socket is given to a request, now ask the OS whether anything is waiting to be read on it. If there is, the Agent destroys the socket and uses another one or opens a new connection. The check doesn't consume any bytes. Signed-off-by: James M Snell <jasnell@gmail.com> Assisted-by: Opencode PR-URL: https://github.com/nodejs-private/node-private/pull/983 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> CVE-ID: CVE-2026-105481