simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Feb 15 21:49:17 GMT 2017


TL;DR:
  5d85258 scp_recv_filedata: handle EOF more sensibly.
  7fd8915 sink(): finish waiting for remote EOF after a local error.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-02-15 21:49:17

commit 5d852585a1f00f130333d2350627ffb80014d4e2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=5d852585a1f00f130333d2350627ffb80014d4e2;hp=717129b0f240ce4cae7bded25cffe2857f760d5e
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Feb 15 21:39:23 2017 +0000

    scp_recv_filedata: handle EOF more sensibly.
    
    xfer_download_data could return actuallen as either 0 or -1 to
    indicate EOF. Now it's always 0, and scp_recv_filedata actually checks
    for that case and reports an error.

 pscp.c | 7 +++++++
 sftp.c | 1 +
 2 files changed, 8 insertions(+)

commit 7fd8915ce9dabd124ee10374c33449ad912b607c
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7fd8915ce9dabd124ee10374c33449ad912b607c;hp=5d852585a1f00f130333d2350627ffb80014d4e2
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Feb 15 21:41:28 2017 +0000

    sink(): finish waiting for remote EOF after a local error.
    
    We responded to a local error writing out the destination file by
    going into a mode where we just looped round receiving and throwing
    away data until our count of the file size reached the file size we
    expected - but once we were in that mode, we never actually
    incremented the count!

 pscp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)



More information about the tartarus-commits mailing list