diff --git a/src/Peachpie.Library.Network/CURLConstants.cs b/src/Peachpie.Library.Network/CURLConstants.cs index 579cf2f2c0..86bf45ac22 100644 --- a/src/Peachpie.Library.Network/CURLConstants.cs +++ b/src/Peachpie.Library.Network/CURLConstants.cs @@ -731,6 +731,15 @@ internal static bool TrySetOption(this CURLResource ch, long option, PhpValue va // always enabled break; + case CURLOPT_CAINFO: + if (value.IsFalse || value.IsNull) // ignored + { + break; + } + + // not supported + goto default; + case CURLINFO_HEADER_OUT: ch.StoreRequestHeaders = value.ToBoolean(); break; case CURLOPT_VERBOSE: ch.Verbose = value.ToBoolean(); break; case CURLOPT_STDERR: return (ch.VerboseOutput = TryProcessMethodFromStream(value)) != null || value.IsNull;