wolfssh/ide
Yosuke Shimizu 586b697b18 ssh, internal: always flush the worker's output
- wolfSSH_worker() calls wolfSSH_SendPacket() whenever
  ssh->outputBuffer holds bytes and the session is not
  disconnected. ssh->error keeps the receive's code when the
  receive failed, and the close's when a WS_CHANNEL_CLOSED pass
  hard-failed its flush; WS_REKEYING is withheld on a failed
  flush. Drops the second DoReceive(), the WOLFSSH_TEST_BLOCK
  fork and the separate WS_CHANNEL_CLOSED flush.
- BundlePacket() resets ssh->outputBuffer.length to
  ssh->packetStartIdx when the framing fails. wolfSSH_shutdown()
  reports WS_WANT_WRITE when its close-read leaves output queued,
  and the send's own error in place of it when that send failed.
  SendPacketFlush() records its code in ssh->error on every
  transport failure path, and wolfSSH_TriggerKeyExchange() writes
  it only when SendKexInit() fails.
- portfwd, client and scpclient accept WS_WANT_WRITE from
  wolfSSH_shutdown(); in scpclient the close-message drain runs
  on it.
- wolfssh/ssh.h drops WS_WINDOW_FULL from wolfSSH_worker() and says
  to read the return and wolfSSH_get_error() as independent channels
  on every pass.
- Twenty unit tests and the extended TestWorkerReportsDisconnect
  cover what ret and ssh->error hold after a receive, send, buffer,
  callback or framing failure.
2026-09-14 10:40:48 -07:00
..
CSBENCH initial port to Nucleus 2018-06-13 09:44:54 -06:00
Espressif ssh, internal: always flush the worker's output 2026-09-14 10:40:48 -07:00
IAR-EWARM keep a list of file handles open per session 2026-06-22 20:11:36 -07:00
Linux-FATFS Release v1.4.22 2025-12-29 16:53:33 -08:00
MQX add ide/MQX/include.am, README, Makefile 2020-10-22 06:55:01 +09:00
Renesas keep a list of file handles open per session 2026-06-22 20:11:36 -07:00
STM32CUBE keep a list of file handles open per session 2026-06-22 20:11:36 -07:00
mplabx Handle the EOF status in apps and examples 2026-08-31 11:53:29 -05:00
winvs fix for flags handling, ocsp case, macro guards, unused variable, changed default from MY to required to be set 2026-09-05 01:32:02 -07:00
include.am add example code for MPLABX use 2025-02-28 16:17:51 -07:00