diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-23 21:24:02 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-24 09:39:14 +0100 |
commit | c3db9d7a440f34f3faffee6583da5381a59d5c2a (patch) | |
tree | 1fcf91dd43c89a361b6ff89b0485bac5a52d1ed3 /sw | |
parent | 07941bfa4844f794a1e50a28c3eb28b24ad94a41 (diff) |
ucb: webdav-curl: properly reset CURLOPT_INFILESIZE_LARGE
If the value is set to 0, then the next PROPFIND after PUT will not
append the "Expect: 100-continue" header, and hang without uploading.
See Curl_http_bodysend() which checks for != 0.
Unfortunately with different default values for "long" and "curl_off_t"
CurlOption becomes a little more complicated.
(regression from 8e34fe50412fd58a600ba1b8238b80444aec02e5)
Change-Id: I55ea02659f7a64f373e89a6d02d6865c158fd0c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125742
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions