[openssh-commits] [openssh] 01/07: upstream: Set highwater when resuming a "put". Prevents bogus "server
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Mar 11 19:26:12 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 29a5127f808d00aa539fd27d83a65c2c56179b0e
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Tue Mar 11 07:48:51 2025 +0000
upstream: Set highwater when resuming a "put". Prevents bogus "server
reordered acks" debug message. ok djm@
OpenBSD-Commit-ID: aa7f6d0fc2e893c8c278ea3e6e0974c2eca83f5d
---
sftp-client.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sftp-client.c b/sftp-client.c
index be40d209..9f8ab4af 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-client.c,v 1.176 2024/05/17 02:39:11 jsg Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.177 2025/03/11 07:48:51 dtucker Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm at openbsd.org>
*
@@ -2091,6 +2091,7 @@ sftp_upload(struct sftp_conn *conn, const char *local_path,
close(local_fd);
return -1;
}
+ highwater = c.size;
}
openmode = SSH2_FXF_WRITE|SSH2_FXF_CREAT;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list