SUMMARY See Bug 334192 for full context. Basically, when copyFromFile support was introduced with http://commits.kde.org/kio/3167510f887bb6b2ebc849a91bfebe1319ad1837, the corresponding entry ("copyFromFile": true) was not added to http.json, so the symptoms described in the above bug are still present (unnecessary copy to /tmp, problems with large files etc). Simply adding the entry to the "webdav" and "webdavs" sections of the json file fixes the problem. STEPS TO REPRODUCE 1. Upload a large file to a WebDAV server with dolphin OBSERVED RESULT The file is copied to /tmp first, RAM usage spikes, the actual upload may not start due to memory problems EXPECTED RESULT The file gets uploaded right away
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1145
Git commit fe76c7e7224bde6a93e327de097c8a1e14c7d323 by Nicolas Fella, on behalf of Alberto Mattea. Committed on 27/01/2023 at 20:06. Pushed by cullmann into branch 'master'. Add missing copyFromFile entries to http.json for webdav and webdavs copyFromFile support was already implemented but not enabled due to the missing entries. M +2 -0 src/kioworkers/http/http.json https://invent.kde.org/frameworks/kio/commit/fe76c7e7224bde6a93e327de097c8a1e14c7d323
Git commit 74b1ec8b63c5e23d288e0d43d898ae2dcdcf43a0 by Alberto Mattea. Committed on 31/01/2023 at 21:43. Pushed by mattea into branch 'kf5'. Add missing copyFromFile entries to http.json for webdav and webdavs copyFromFile support was already implemented but not enabled due to the missing entries. (cherry picked from commit fe76c7e7224bde6a93e327de097c8a1e14c7d323) M +2 -0 src/kioworkers/http/http.json https://invent.kde.org/frameworks/kio/commit/74b1ec8b63c5e23d288e0d43d898ae2dcdcf43a0