mirror of https://github.com/wolfSSL/wolfssh.git
scripts/fwd.test sends eight short lines, so nothing in the suite drives a forwarding channel past its first window, and a forward that stalled once the window needed crediting would go unnoticed. - push a payload several windows long through a local direct-tcpip forward and compare the bytes that arrive - end a second transfer one window plus a short tail in, where the tail is what portfwd still holds at end-of-input, and repeat it since the window credit beating that tail is a race - give the listening nc its stdin from a fifo a sleep holds open: reading end-of-input makes nc close the connection, which truncates the transfer and looks exactly like a stall - bail out early once the byte count stops moving, so a real stall reports in seconds - dump the logs on failure, check the listening nc came up, and take ports clear of the ones fwd.test.expect hardcodes, so a squatted or shared port is not reported as a stall |
||
|---|---|---|
| .. | ||
| fwd-bulk.test | ||
| fwd.test | ||
| fwd.test.expect | ||
| get-put.test | ||
| include.am | ||
| sbom.am | ||
| scp.test | ||
| sftp.test | ||
| sshclient.test | ||