Overview
| Artifact ID: | a6d871f212108c96e780d119a95d5e7cb6e54357 |
|---|---|
| Ticket: | 3096275fffffffffffffffffffffffffffffffff
Sync fcopy buffers input |
| User & Date: | ferrieux on 2010-10-27 17:12:32 |
Changes
- icomment:
Attached tiny patch fixes the issue, by adding an allowShortReads flag to DoRead, for use only inside CopyData when the input channel is blocking. This allows to exploit the "half-blocking" semantics of pipes and sockets, which can do short reads in blocking mode, thus keeping the overall spirit of sync fcopy (ie don't use the event loop). Checked against the test suite. Again, this removes a day-1, but undocumented, limitation. Raising prio to ask for permission to commit.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"