mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
parse_proxy: use the URL parser API
As we treat a given proxy as a URL we should use the unified URL parser to extract the parts out of it. Closes #3878
This commit is contained in:
parent
e832d1ef74
commit
ee68bbe29c
2 changed files with 84 additions and 149 deletions
|
|
@ -34,7 +34,7 @@ http
|
|||
socks5
|
||||
</server>
|
||||
<setenv>
|
||||
http_proxy=socks5://%HOSTIP:%SOCKSPORT
|
||||
http_proxy=socks5://%HOSTIP:%SOCKSPORT
|
||||
</setenv>
|
||||
<name>
|
||||
HTTP GET via SOCKS5 set in http_proxy environment variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue