Skip to content

uv_write() for pipes on Windows does not always call callback #1729

Description

@addaleax
  • Version: 1.19.1 (Node master)
  • Platform: Windows 10

Hi everyone! I'm currently debugging some of my Node work, and I'm pretty sure uv_write() callbacks for Windows pipes don't always get called (even though the other side of the pipe fully received the data).

I'll try to get a pure libuv reproduction together, but the easiest way to reproduce would be something along the lines of adding a fprintf(stderr, "foobar\n"); to Node's LibuvStreamWrap::AfterWrite(), then running a test like test\parallel\test-cluster-cwd.js -- it writes data, the other side receives it, and it does use uv_write() for writing, but there's no extra output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions