summary: PSCP can throw away the start of an SCP session and hang waiting for it class: bug: This is clearly an actual problem we want fixed. difficulty: fun: Just needs tuits, and not many of them. priority: medium: This should be fixed one day. present-in: 0.58 0.59 0.60 fixed-in: r7651 6d2c196708355f65d1764adc4fa1c04b0422356c 2007-07-30 (0.61)
If an SCP server sends data (the initial zero byte of an SCP session) too
early, it can get processed by from_backend() before ssh_scp_recv() has started
and hence before outptr is set. This causes the data to be discarded,
and PSCP to hang forever waiting for the handshake it's already received.