wolfssh/tests
John Safranek 2bfdbac2b3 Carry the EOF status through SFTP and SCP
wolfSSH_SFTP_buffer_send() and ScpStreamSend() keep driving the worker when the
peer half-closes. Both return any negative status, so a WS_EOF would have
aborted a transfer that is still perfectly able to finish: the peer closed its
sending direction, not ours.

- wolfSSH_SFTP_buffer_read() reports every negative peek but a rekey instead of
  spending a receive on it. A drained channel at EOF, a dead session and a
  channel that is gone all mean no more data can arrive, and the poll only
  overwrites the latched cause with WS_WANT_READ or blocks on a peer that has
  hung up.
- A rekey is not a drained channel: peek reports it before it looks at the
  buffer at all, so that one still needs the poll.
- DoScpRequest() reads its own EOF case the same way as the rest.
2026-08-31 11:53:29 -05:00
..
api.c fix: validate keyboard-interactive prompts 2026-08-28 17:45:20 -05:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c examples, tests: terminate the ES_ERROR messages with a newline 2026-08-28 18:22:34 -05:00
auth.h added check for private and public keys decoded 2026-07-31 16:14:52 -07:00
include.am client: fix keyboard-interactive responses 2026-08-10 10:31:07 -06:00
kex.c Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
kex.h Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c tests: cover a channel-open rejection on a forwarding channel 2026-08-30 11:16:05 -05:00
sftp.c Add a safe mask for peer-supplied mode and extend wolfSSH_SFTP_Open 2026-06-08 10:01:24 -07:00
sftp.h Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c scp: fix duplicate file header on send 2026-08-04 12:20:49 -04:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c Carry the EOF status through SFTP and SCP 2026-08-31 11:53:29 -05:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00