Overview
| Artifact ID: | fc52b00e1e4fcb59a7eed59ed9419c069a4e8c77 |
|---|---|
| Ticket: | 2901998fffffffffffffffffffffffffffffffff
Inconsistent buffered I/O |
| User & Date: | ferrieux on 2009-12-02 06:53:03 |
Changes
- icomment:
OK thanks to your help on the chat, I have now a working patch. Key was acknowledging the lack of symmetry read/write i.e call WillRead on lowest layer (ChanRead) while calling WillWrite on highest one (WriteBytes/Chars), to be on the proper side of buffering. Another key was doing a ChanSeek(-queuedInput) when discarding input buffers. Please review, including the seek replacement in truncate.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"