Feature #28258
closed
cURL: allow custom curl params
Added by Stefan Neufeind almost 13 years ago.
Updated about 8 years ago.
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.
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.
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 :-)
- Category set to Backend API
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?
- 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:
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.
- Target version set to 7.5
- Target version deleted (
7.5)
- Status changed from New to Rejected
we now have guzzle with 8.1 with all kinds of special parameters, should solve all problems now.
Also available in: Atom
PDF