mirror of https://github.com/wolfSSL/wolfssh.git
- wolfSSH_OutputPending() moves from wolfssh/internal.h to wolfssh/ssh.h as a WOLFSSH_API taking a const WOLFSSH*, defined in src/ssh.c beside the other public calls. - wolfSSH_worker() puts the send's code in the return in place of an event when the flush fails outright, and gates its flush on wolfSSH_OutputPending(). wolfssh/ssh.h states both. - Both wolfsshd shell loops, both echoservers and ReceiveScpMessage() dispatch on wolfSSH_worker()'s return, and call wolfSSH_get_error() only to tell a transient failure from a terminal one. The POSIX wolfsshd loop sets wantWrite from wolfSSH_OutputPending(). - Five worker tests expect the send's code where they expected the event, and tests/testsuite.c calls wolfSSH_OutputPending(). |
||
|---|---|---|
| .. | ||
| api.c | ||
| api.h | ||
| auth.c | ||
| auth.h | ||
| include.am | ||
| kex.c | ||
| kex.h | ||
| regress.c | ||
| sftp.c | ||
| sftp.h | ||
| testsuite.c | ||
| testsuite.h | ||
| unit.c | ||
| unit.h | ||