ucb: webdav-curl: suppress libcurl proxy detection
commitbd46c840f363b9aa5dcd47ea03c40430e9eb5593
authorMichael Stahl <michael.stahl@allotropia.de>
Mon, 31 Jan 2022 12:47:50 +0000 (31 13:47 +0100)
committerThorsten Behrens <thorsten.behrens@allotropia.de>
Tue, 1 Feb 2022 11:54:28 +0000 (1 12:54 +0100)
tree4647b835b00655e9151bc607f8e73f5ff2fc7a7a
parent554b01c9f91fcc6d8c188ef3dc511b4d9c18b7e7
ucb: webdav-curl: suppress libcurl proxy detection

The UCP already reads proxy configuration from configmgr, including a
list of hosts that should ignore proxy: Inet::Settings::ooInetNoProxy

Hence also set an empty string with CURLOPT_PROXY, disabling the
detect_proxy() function.

(The neon library was never built with the libproxy dependency it
needs to detect proxies.)

Change-Id: I279d1b85dbdd2455791d393e634a1fa7c1c17ce0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129220
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 9b5894e67d6ba820443c9f1130231be8c0278f82)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129086
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
ucb/source/ucp/webdav-curl/CurlSession.cxx