Ran
|
Files
559
|
Run time
17s
|
Badge
Embed ▾
README BADGES
|
push
github
Ftp client: Fix burst download (#2235) * Ftp client: Fix burst download Better missing parts management (less memory used) Restart burst read if file is not complete. * ftp: prevent huge allocation Sometimes we seem to get a message with offset 0. I'm not sure why. Instead of allocating something huge, we're better off just bailing out. Signed-off-by: Julian Oes <julian@oes.ch> * ftp: address sonarcloud complain Presumably, this was wrong. Signed-off-by: Julian Oes <julian@oes.ch> * Fix ftp burst download timeout * Revert "Fix ftp burst download timeout" This reverts commit 342df2ecc. * ftp: fixup lossy burst download This was my messy try to fix the edge case where the very last burst packet which contains burst_complete=1 is lost. Signed-off-by: Julian Oes <julian@oes.ch> * Ftp burst download : fix offset in case of timeout --------- Signed-off-by: Julian Oes <julian@oes.ch> Co-authored-by: Julian Oes <julian@oes.ch>
10450 of 32788 relevant lines covered (31.87%)
105.93 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|