Feature #28258
closedcURL: allow custom curl params
0%
Description
curl allows:
CURLOPT_PROXYTYPE Either CURLPROXY_HTTP (default) or CURLPROXY_SOCKS5.
This option is currently not present and would allow using a socks5-proxy.
Testing is possible by using for example the built-in SOCKS5-proxy of OpenSSH with:
ssh -D 8080 user@someservers
Would allow using SOCKS5-proxies and (as said here) also ease things like temporarily tunneling an intranet-server to the outside world (to fetch updates, ...).
PS: Imho implementation should wait for changes from #27988.
Updated by Steffen Gebert almost 13 years ago
I think, if we enhance the global configuration of cURL to accept any parameter (and pass them through in getURL
), this would be no problem at all. And not restricted to SOCKS proxy.
Updated by Stefan Neufeind almost 13 years ago
Agreed. But since things like proxy username/password are accessible in the installtool we might want to add this field there as well, as part of the comments, or do the handling of those options completely different in the installtool anyhow :-)
Updated by Stefan Neufeind almost 10 years ago
How is the situation in 6.2 meanwhile? Do we have a "general" way for cURL-settings there? Or would this configuration-possibility still require further modifcations?
Updated by Susanne Moog over 8 years ago
- Subject changed from cURL: allow using a socks-proxy to cURL: allow custom curl params
I changed the feature title and will consolidate the different options here (and close the other tickets with the same topic):
The following options where asked for in tickets:
- CURLOPT_PROXYTYPE
- CURLOPT_USERAGENT
- CURLOPT_SSL_VERIFYPEER
- CURLOPT_CAPATH
Additionally a blacklist for bypassing the proxy:
- curlProxyBlackList
Find the descriptions of the use cases in the corresponding tickets. We need a general solution for these options instead of implementing them one by one.
Updated by Benni Mack about 8 years ago
- Status changed from New to Rejected
we now have guzzle with 8.1 with all kinds of special parameters, should solve all problems now.