https://bugs.kde.org/show_bug.cgi?id=518511

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/418d04a
                   |                            |4dcabc60dc57f4916f481185872
                   |                            |6a6ff0
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Méven <[email protected]> ---
Git commit 418d04a4dcabc60dc57f4916f4811858726a6ff0 by Méven Car.
Committed on 20/08/2026 at 08:45.
Pushed by meven into branch 'master'.

http: Report how far an upload has got, not what the answer weighs

Sending a file to a WebDAV server showed a few hundred bytes transferred and
then nothing, for the whole upload, however large the file was. The transfer
itself ran to the end and the file arrived, so only the numbers were wrong.

The request runner follows QNetworkReply::downloadProgress, which counts the
bytes coming back. That is the right direction for a GET, but a PUT sends the
body out and gets a short status document back, so the progress a user watches
was the size of that document. An 8 MiB upload reported 372 bytes, once.

Follow the bytes going out when the request carries a body. Both signals hand
over the same two numbers, so the reporting itself is unchanged and only the
direction it listens to differs.

M  +38   -0    autotests/webdavtest.cpp
M  +12   -3    src/kioworkers/http/http.cpp

https://invent.kde.org/frameworks/kio/-/commit/418d04a4dcabc60dc57f4916f4811858726a6ff0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to