-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set options (verify to false) for request_multiple? #294
Milestone
Comments
Reproduced. This seems to be a bug in both the fsockopen transport and the cURL transports. For cURL The For fsockopen the issue seems a bit more serious. Setting |
soulseekah
added a commit
to soulseekah/Requests
that referenced
this issue
Feb 11, 2018
The `request_multi` method does not take into account the verify option, unlike `request`. Moved the verify logic into `setup_handler` which does all the `curl_setopt` calls anyway and is called from both the multiple and single request options. With tests. Contigent on WordPress#310 for fsockopen verify fix. Fixes WordPress#294
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to set verify as false use the following snippet.
$requests = array(
'label1'=>array(
'url' => 'https://test.com',
'headers' =>array(
'Content-Type' => 'application/json',),
'options' => array(
'verify' => false,
),
),
)
as per documentation if we set verify to false it should ignore ssl verification but i'm still getting SSL certificate problem: unable to get local issuer certificate. Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: