tdf#126728: About FTP proxy settings on KDE5

Stephan Bergmann sbergman at redhat.com
Wed Aug 7 13:39:02 UTC 2019


On 07/08/2019 15:28, julien2412 wrote:
> Taking a look at https://bugs.documentfoundation.org/show_bug.cgi?id=126728
> "LibreOffice slow start due to FTP access failure (kde5 only)", I noticed
> these lines:
> 109              case KProtocolManager::EnvVarProxy: // Proxy values set
> through environment variables
> 110                  // In such cases, the proxy address is not stored in
> KDE, but determined dynamically.
> 111                  // The proxy address may depend on the requested
> address, on the time of the day, on the speed of the wind...
> 112                  // The best we can do here is to ask the current value
> for a given address.
> 113                  aFTPProxy = KProtocolManager::proxyForUrl(
> 114                      QUrl(QStringLiteral("ftp://ftp.libreoffice.org")));
> 115                  break;
> 116              default: // No proxy is used
> 117                  break;
> 118          }
> ...
> and almost the same block around line 140
> 
> See
> https://opengrok.libreoffice.org/xref/core/shell/source/backends/kf5be/kf5access.cxx?r=d3c6ac6d#114

Do you have a backtrace showing why that getValue is actually called for 
"ooInetFTPProxyName" or "ooInetFTPProxyPort" during start up?


More information about the LibreOffice mailing list