AcceleratorCacheBundle icon indicating copy to clipboard operation
AcceleratorCacheBundle copied to clipboard

curl_opts should accept array of strings

Open mgagne opened this issue 5 years ago • 0 comments

Some curl options accepts an array of strings for their values: https://www.php.net/manual/en/function.curl-setopt.php

One such option is CURLOPT_RESOLVE which I'm trying to use to override DNS resolution.

Current code limits those options to string as per: https://github.com/Smart-Core/AcceleratorCacheBundle/blob/6d93a12a229d3473ac483e1298dba53fcc4ba96e/DependencyInjection/Configuration.php#L46

Would there be a way to accept those parameter value types?

mgagne avatar Nov 27 '20 23:11 mgagne