smart + python-curl does not honor 'http-proxy' config

Bug #244604 reported by Rehan Khan
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Undecided
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue226

Reason: Review. Is similar to issue https://bugs.launchpad.net/smart/+bug/244347

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

msg1152 (view) Author: peter-endian Date: 2007-06-21.13:31:36

I supply proxy information with the commandline:

smart -o http-proxy=http://lala:blabla update

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://some-other-host:3129/',
host:~ #

and if python-curl is installed, a tcpdump shows it using the environment
variable specified proxy, not the one specified above.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.