Commit 76e8d66
committed
SFTP Fix
1. Remove the continue from the SFTP worker loop when there's a timeout
on the select and when there's a want_read from the wolfSSH_worker.
2. When the select has receive data ready, check it. Don't make it
conditional on want read as well.
The goal is that when there isn't data waiting on the socket, check and
process the data in the SFTP channel's buffer, always.1 parent c07a868 commit 76e8d66
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
1200 | 1199 | | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
| 1200 | + | |
1204 | 1201 | | |
1205 | 1202 | | |
1206 | 1203 | | |
| |||
1213 | 1210 | | |
1214 | 1211 | | |
1215 | 1212 | | |
1216 | | - | |
1217 | 1213 | | |
1218 | 1214 | | |
1219 | 1215 | | |
| |||
0 commit comments