about summary refs log tree commit diff stats
path: root/src/io/bufstream.nim
Commit message (Collapse)AuthorAgeFilesLines
* buffer, client: fix deadlock with send() callsbptato2024-02-291-0/+54
This is an ancient bug, but it got much easier to trigger with mouse scrolling support so it's time to fix it. (The bug itself was that since both the client and buffer ends of the controlling stream are blocking, they could get stuck when both were trying to send() data to the other end but the buffer was full. So now we set the client end to non-blocking.)