ucb/source/ucp/webdav-curl/CurlSession.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ddc09464d302a6ae580d16bcd44b4e7213124fe3 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat Feb 22 20:06:51 2025 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Feb 22 23:02:58 2025 +0100 kit: enable metadata filter Change-Id: I6814a9aa4fff5903258e92e4d1b56db1c452c49f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182041 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index 96df2e5fefa4..21fb2640e1b7 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -833,9 +833,9 @@ CurlSession::CurlSession(uno::Reference<uno::XComponentContext> xContext, #ifndef _WIN32 if (comphelper::LibreOfficeKit::isActive()) { - //rc = curl_easy_setopt(m_pCurl.get(), CURLOPT_OPENSOCKETFUNCTION, opensocket_callback); - //assert(rc == CURLE_OK); - (void)opensocket_callback; + //See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html + rc = curl_easy_setopt(m_pCurl.get(), CURLOPT_OPENSOCKETFUNCTION, opensocket_callback); + assert(rc == CURLE_OK); } #endif }