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

            Bug ID: 524938
           Summary: Files PUT (uploaded) in an HTTP/2 WebDAV server get
                    truncated
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.26.0
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: WebDAV
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
"kioclient copy /tmp/asdf.bigfile 'webdavs://user:pass@host/dav/path/'" where
the big file is ~1GiB won't get completely copied over if the server in
question is using http2.

STEPS TO REPRODUCE
1. Put any WebDAV server behind an nginx instance with http2 enabled
2. Attempt to upload to it via Dolphin or kioclient
3. compare resulting remote copy with the local copy

OBSERVED RESULT
- File is truncated
- Increasing nginx's verbosity results the following message in its logs:
"client prematurely closed stream: only 1431784053 out of 1435912821 bytes of
request body received while sending request to upstream"

EXPECTED RESULT
All of the files bytes to get shoved in the server

SOFTWARE/OS VERSIONS
Operating System: NixOS 26.05
KDE Plasma Version: 6.6.6
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
HTTP/1.1 works fine, current workaround is to configure the server to do that,
would appreciate if I didn't have to do this.

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

Reply via email to