Bug 252128

Summary: fetch(3); Add support of HTTPS_PROXY/https_proxy environment variables
Product: Base System Reporter: Yasuhiro Kimura <yasu>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: des
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D28438
Description Flags
Patch file none

Description Yasuhiro Kimura freebsd_committer 2020-12-25 10:49:16 UTC
Created attachment 220909 [details]
Patch file

Add support of HTTPS_PROXY/https_proxy environment variables. They works similar to FTP_PROXY/ftp_proxy environment variables for FTP scheme. That is, if scheme of request URL is "https" fetch(3) checks if following environment variables are set in this order.
2. https_proxy
4. http_proxy
And the value of first one set is used as setting of proxy for https.
Comment 1 Yasuhiro Kimura freebsd_committer 2021-01-31 17:18:29 UTC
I created the review of the patch.