mirror of https://github.com/wolfSSL/wolfssh.git
- readInput() in apps/wolfssh runs FlushQueuedSend() when wolfSSH_stream_send() returns WS_WANT_WRITE without taking the buffer, then sends the same buffer again; a failed flush still ends in "Couldn't send data". - readInput() in examples/client retries WS_WANT_WRITE as it retries WS_REKEYING, for up to SEND_RETRY_TIMEOUT (10) seconds per buffer. - The comment on the queued check in apps/wolfssh describes the positive-return case. |
||
|---|---|---|
| .. | ||
| client.c | ||
| client.h | ||
| common.c | ||
| common.h | ||
| include.am | ||