Duncan Mac-Vicar P. wrote:
Dave Plater wrote:
Isn't passing the option the equivalent to a command line option? This would override the environment variable and enable the turning on and off of proxy use without a logout / login. Regards Dave P
For aria, yes. But the ZYpp aria backend is an extension of the curl backend, and fallbacks to curl for some operations that aria can't do, like 1 byte range transfer as a hack to check for file existence on broken ftp servers.
My fear is that for those operations, libcurl could override what libzypp set using curl_easy_set_opt (command line parameters equivalent) with the environment variables, thus overriding arias behavior (actually inverting it) and making the env variable authoritative.
Does anyone know if curl/libcurl override set_opt with env variables? I can test, but not now ;-)
Duncan
This doesn't answer your question but aria2c, from what I have observed, does a very good job of checking file existence on mirrors by itself. That is as long a http://download.opensuse.org is used and maybe the easier approach is to rely more on aria2c's reporting. Don't quite know how the refresh process works though but this is so as far as package download is concerned. To shed a bit of light according to https://bugzilla.novell.com/show_bug.cgi?id=458708#c7 /root/.curlrc overrides the environment variable and various program options I have seen override option files and environment variables. i.e. if libzypp passes an option from its config file it will override all others. Sorry I can't think of a zypp.conf option to actually test this with. Regards Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org