Disable non-blocking mode that's enabled only for file:// and serial://
protocols. We do not seem to have a really good reason for it, and it
only complicates handling partial writes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
All read should be going through the select(2) in ConnectionFileDescriptor::BytesAvaliable, which effectively erases (non-)blocking mode differences in reading. And we do want to perform writes in blocking mode.