Mailinglist Archive: opensuse-factory (341 mails)

< Previous Next >
Re: [opensuse-factory] ZYpp switch to aria2c as default
  • From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
  • Date: Fri, 27 Feb 2009 10:08:19 +0100
  • Message-id: <49A7AD83.40501@xxxxxxx>
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

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups