wolfssh/examples/echoserver
John Safranek 10d97e151f echoserver: wait to write in the SFTP loop
A send the socket refused leaves WS_WANT_WRITE, and the retry branch
continues past the only tcp_select() in the iteration, which watches
reads. Wait on write readiness there, so a peer that has stopped
reading costs a descriptor wait rather than a spin.

- a buffered send with a willing socket still goes straight around
- an error-ready or failed descriptor ends the loop
- an interrupted select() retries instead of ending the session
2026-09-16 09:55:24 -07:00
..
echoserver.c echoserver: wait to write in the SFTP loop 2026-09-16 09:55:24 -07:00
echoserver.h Fix a one byte heap overflow in LoadTpmSshKey 2026-08-13 11:59:57 -07:00
include.am Simplify Test Build Flags 2025-07-17 15:30:24 -07:00