Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a6d871f212108c96e780d119a95d5e7cb6e54357
Ticket: 3096275fffffffffffffffffffffffffffffffff
Sync fcopy buffers input
User & Date: ferrieux on 2010-10-27 17:12:32
Changes

  1. 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.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"