"https_proxy=http://local-squid-instance:3128/ wget2 https://google.com" crashes wget2
Steps to reproduce:
Install local squid proxy in its (Debian) default configuration. Then type:
https_proxy=http://localhost:3128/ wget2 https://google.com
wget2 will print nothing and will return code 5. I. e. the above command causes wget2 to crash without any output.
Full reproducing steps and "--debug" output here: https://builds.sr.ht/~safinaskar/job/877314 (click "view manifest »" to view full commented script).
My wget2 version is 1.99.1