mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
The child can receive an acknowledgement and send its next record before the parent's send callback runs. Clear recordPending before sending the acknowledgement to avoid rejecting that record as an invalid sequence. Add a regression test that delays send callbacks until the child sends its next record or closes. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66430 Reviewed-By: James M Snell <jasnell@gmail.com>