[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#557085: apt-transport-https: uses http config rather than https



Hi Adrian Bridgett,

First of all: Thanks for your report!

2009/11/19 Adrian Bridgett <adrian@smop.co.uk>:
> Unsetting the Acquire::http::Proxy line or adding
> Acquire::http:Proxy::example.com DIRECT works, however this then turns
> proxying for http too :-(

Your problem is a misunderstanding: APT currently uses the
settings from http for https and has no special https-proxy-settings.
( apt.conf is misunderstandable here, but it is correctly said in
/usr/share/doc/apt/examples/configure-index.gz )
But yes, this is bogus and should be fixed. :)

I will write a little patch which should add https options which defaults
to the http ones if not set. I guess this is more what a user expects
and it is the only way to override these settings in a sane way for https
as your usecase shows that someone doesn't want to use the same
settings for http and https all the time.

If not really strange things happen it should be pushed in a few hours/days
to my branch [0] and should therefore be included in the next apt upload.
(I will not send the patch to the bugreport as it will depends on another
change in my branch)


Best regards / Mit freundlichen Grüßen,

David "DonKult" Kalnischkies

[0] https://code.launchpad.net/~donkult/apt/sid



Reply to: