Ticket Change Details
Not logged in
Overview

Artifact ID: 4e4babad768bc8b9f153c93d0158a6d211fb2aa1
Ticket: 115e95ac11631d0f3f2cf2427f1a7212999b079e
ssh clone failing
User & Date: viriketo 2011-02-16 20:42:19
Changes

  1. Appended to comment:
    
    
    <hr /><i>viriketo added on 2011-02-16 20:42:19 UTC:</i><br />
    The problem went away for my use case after [7c8519003d].
    
    I think the key was in transport_load_buffer(..., 1000), that was waiting for either 1000 bytes or EOF. As with ssh EOF does not come, and data transmitted may be below 1000 bytes, we need a different approach.
    
    With the ssh case, the call goes transport_load_buffer(..., 2), asking for two bytes or EOF.
    
    I'm not sure if it works in all cases.