Commit Graph

3 Commits

Author SHA1 Message Date
Keno Fischer
2d31a1f222 win: Implement non-overlapped pipe cancellation 2026-02-22 07:00:55 +00:00
Keno Fischer
a29797999b Address review 2026-02-06 02:16:16 +00:00
Keno Fischer
d718a22ace stream: Implement cancellation support for uv_write_t
This adds a new function `uv_write_cancel` which requests the
cancellation of an in-progress write as soon as possible, possibly
causing a short write. The exact timing of the cancellation is stream type
and kernel dependent. A cancelled request will receive the ordinary write
callback with `UV_ECANCELED` and the new function `uv_write_nwritten`
can be used to determine if the write request was partially fulfilled.
2026-01-26 04:07:40 +00:00