smart + python-curl does not honor 'http-proxy' config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Imported: http://
Reason: Review. Is similar to issue https:/
further details: https:/
msg1152 (view) Author: peter-endian Date: 2007-06-21.13:31:36
I supply proxy information with the commandline:
smart -o http-proxy=http://
it is working for me. (also with python-curl of course)
msg1121 (view) Author: chakkaradeep Date: 2007-03-18.02:54:50
I have installed python-curl and not set the environment variables, but the
smart config options are set and smart is using the config options.Can you
please check another time regarding this?
msg774 (view) Author: jon Date: 2006-10-12.16:51:49
The short version is:
if python-curl is installed the 'http-proxy' configuration variable is ignored.
In my opinion, the 'http_proxy' (and associated) environment variables should be
consulted only if the 'http-proxy' (and associated) *configuration* variables
are not set (and not just empty, indicating do-not-use):
Specifically I refer to this:
host:~ # smart config --show | grep proxy
'http-proxy': 'http://
host:~ #
and if python-curl is installed, a tcpdump shows it using the environment
variable specified proxy, not the one specified above.