wolfssh/examples
John Safranek 7320687a1e examples, apps: drain at shutdown everywhere
The remaining teardown sites spun wolfSSH_worker() ten times after
wolfSSH_shutdown(), the loop the client and the echoserver just
replaced. The clients now send a disconnect and drain, and wolfsshd
half closes and drains like the echoserver.

- sftpclient.c, scpclient.c, portfwd.c and the wolfssh app call
  SendDisconnectAndDrain() and treat either give-up as a clean close.
- scpclient.c and the wolfssh app report an unexpected shutdown result,
  as the client does.
- the wolfssh app waits for the channel close before draining, as the
  client does, and fails on an error that broke the wait.
- wolfsshd drained by hand after wolfSSH_free(), with no bound on a peer
  that never hung up. HalfCloseAndDrain() bounds it at ten seconds, and
  a peer that let the login grace time run out is not drained.
2026-10-13 10:45:39 -05:00
..
client examples: half close and drain at shutdown 2026-10-13 10:45:39 -05:00
echoserver examples: half close and drain at shutdown 2026-10-13 10:45:39 -05:00
portfwd examples, apps: drain at shutdown everywhere 2026-10-13 10:45:39 -05:00
scpclient examples, apps: drain at shutdown everywhere 2026-10-13 10:45:39 -05:00
sftpclient examples, apps: drain at shutdown everywhere 2026-10-13 10:45:39 -05:00
tpmcertserver Adopt the certificate loading APIs in the examples and apps 2026-08-12 16:06:39 -07:00
include.am examples: add TPM-backed X.509 host certificate server and client 2026-07-07 14:28:56 -07:00