Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly return from Stream.write()
In some cases, the attempt to flush the writeQueue might be successful, meaning that the queueSize is in fact 0, but the captured size *prior* to the flush was large enough to return false. Read the current queueSize when deciding to return false from write().
- Loading branch information