diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2021-08-18 19:16:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-23 08:30:54 +0100 |
commit | e8182a794da04212e8815c1cb6d01f4f7744424f (patch) | |
tree | 3745f556537c8c6f77cdf5b0d29503075acc54e6 /bitbake/lib/hashserv/server.py | |
parent | f113446f417711e652a01907ba14fc513861131e (diff) | |
download | poky-e8182a794da04212e8815c1cb6d01f4f7744424f.tar.gz |
bitbake: fetch2/wget: fix 'no_proxy' handling
The urllib.request.ProxyHandler constructor only reads the $http_proxy
+ $https_proxy environment variables.
$no_proxy is evaluated later when the url is opened.
It is therefore not sufficient to just construct the proxy handler in
the
| with bb.utils.environment(**newenv):
context, but the 'opener.open(r)' call must also be made there.
(Bitbake rev: 076baf4fbd328d247508fd399866a397eb34f67e)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/hashserv/server.py')
0 files changed, 0 insertions, 0 deletions