https://bugs.kde.org/show_bug.cgi?id=481311
Méven Car <meven....@kdemail.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/fram | |eworks/kio/-/commit/4ded5dd | |12f5e752674b685833b77b9b546 | |c0b6c8 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Méven Car <meven....@kdemail.net> --- Git commit 4ded5dd12f5e752674b685833b77b9b546c0b6c8 by Méven Car, on behalf of Harald Sitter. Committed on 15/03/2024 at 18:12. Pushed by meven into branch 'master'. connectionbackend: improve jumbo packet handling (also should fix things on windows) jumbo handling was a bit weird in that we kept bumping the buffer size sky high. and then eventually (hopefully) would be able to read everything in one go and emit. In practice that seems to have not worked out on windows. do partial reads instead. to facilitate this change the existing Task struct is now serving as container we read into so it becomes a bit easier to manage the state. this should also make the code a bit easier to reason about. when we have no task we now start a new task. if we have a task we always read as much data as possible into the task. when we read all data then the task gets emitted. M +9 -0 autotests/CMakeLists.txt A +53 -0 autotests/connectionbackendtest.cpp [License: LGPL(v2.0+)] M +9 -0 src/core/CMakeLists.txt M +22 -25 src/core/connectionbackend.cpp M +7 -6 src/core/connectionbackend_p.h https://invent.kde.org/frameworks/kio/-/commit/4ded5dd12f5e752674b685833b77b9b546c0b6c8 -- You are receiving this mail because: You are watching all bug changes.