Skip to content
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

Fix multi-call SSL verify propagation in cURL #312

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

soulseekah
Copy link
Contributor

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 #310 for fsockopen verify fix.

Fixes #294

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
Copy link
Collaborator

@rmccue rmccue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but #311 needs merging first.

@jrfnl jrfnl changed the base branch from stable to develop June 18, 2021 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how to set options (verify to false) for request_multiple?
2 participants