Skip to content

Conversation

fwerner
Copy link
Owner

@fwerner fwerner commented Aug 9, 2024

This PR attempts to add explicit tests for named pipes.

Two issues have been identified so far:

  1. Opening a named pipe in write mode should wait for a writer to attach until the timeout is reached. This has been fixed in 34a81d8.
  2. Reading or waiting on a named pipe that has no writer attached should consistently return EOF. This is currently not the case for bufio_read, see the test added in 271899e.

@fwerner fwerner marked this pull request as draft August 9, 2024 16:18
@fwerner fwerner requested a review from ssailer August 9, 2024 16:18
@fwerner
Copy link
Owner Author

fwerner commented Aug 19, 2024

I've fixed the behaviour and also found that we forgot to set standard pipes to non-blocking mode. Seems like we should have noticed this before, so a review and some further tests are needed. 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants