mirror of https://github.com/wolfSSL/wolfssh.git
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 |
||
|---|---|---|
| .. | ||
| client | ||
| echoserver | ||
| portfwd | ||
| scpclient | ||
| sftpclient | ||
| tpmcertserver | ||
| include.am | ||