wolfssh/wolfssh
John Safranek ee7fa04bec ssh: flush any queued output at teardown
wolfSSH_shutdown() flushes whatever a short send left in the output
buffer, not just a queued disconnect. A rejected auth's
USERAUTH_FAILURE has no channel, and DoChannelClose() retires the
channel as soon as the close is bundled, so neither had anything
left to carry the retry.

- The gate still refuses a flush once the peer has disconnected,
  unless our own disconnect is the thing queued.
- A flush that finishes on a live session clears the WS_WANT_WRITE
  the short send latched, as the disconnected path already did.
- ssh.h documents the widened flush and the WS_WANT_WRITE a short
  one leaves wolfSSH_shutdown() returning.
- Tests cover the rejected auth with no channel and the close whose
  channel DoChannelClose() already retired.
- A flush that short-sends on a live channel leaves the teardown
  queued behind it. The retry adds no second EOF or close, and skips
  the close wait while its own flush is still short.
- A teardown send that drained the leftovers settles the flush; one
  that failed outranks it, since a reset leaves the buffer intact.
2026-09-03 16:12:17 -05:00
..
agent.h Add parameter names to function declarations 2026-06-09 17:03:02 -07:00
certman.h
…
certs_test.h Add kex integration test for ed25519 server key 2026-04-16 15:14:42 +09:00
error.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
include.am Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
internal.h Validate a custom SSH proto ID string 2026-09-02 15:36:18 -07:00
keygen.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
log.h Add parameter names to function declarations 2026-06-09 17:03:02 -07:00
misc.h Use wolfCrypt's wc_ForceZero() 2026-07-17 15:17:36 -06:00
ossh.h Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
port.h wolfsftp: Improve POSIX and Windows write/append handling 2026-09-02 15:35:09 -07:00
settings.h fix: validate keyboard-interactive prompts 2026-08-28 17:45:20 -05:00
ssh.h ssh: flush any queued output at teardown 2026-09-03 16:12:17 -05:00
test.h Use wolfCrypt's Base16_Decode in test.h when it is available 2026-08-16 12:30:15 -07:00
version.h prepare for release 1.5.0 2026-04-17 10:49:48 -06:00
version.h.in
…
visibility.h
…
wolfscp.h scp: reject NULL message in SetScpErrorMsg 2026-08-10 10:31:07 -06:00
wolfsftp.h fix Windows SFTP 2026-09-02 09:17:30 -07:00