mirror of https://github.com/wolfSSL/wolfssh.git
- Gate header on new scpFileHeaderSent flag, not scpFileOffset==0 - A send callback returning 0 bytes first no longer re-sends header - Skip zero-length SCP_SEND_FILE send to avoid empty CHANNEL_DATA - Abort on a second consecutive 0-byte send callback return with file data outstanding; skipping the send would otherwise spin SCP_SEND_FILE -> SCP_TRANSFER with no socket I/O - Reset offset/bufferedSz/flags in ScpSourceInit for connection reuse - Document the WS_CallbackScpSend contract, including when a 0 return is valid, next to the typedef - Add test_wolfSSH_SCP_SendZeroFirst regression (func_args scp_send hook) - Zero func_args in kex.c/testsuite.c so the new scp_send field is not read uninitialized Issue: ZD-22176 |
||
|---|---|---|
| .. | ||
| client | ||
| echoserver | ||
| portfwd | ||
| scpclient | ||
| sftpclient | ||
| tpmcertserver | ||
| include.am | ||