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

The new curlOptions in 2.1.4 does not work #330

Closed
HagnMarkus opened this issue Feb 6, 2023 · 0 comments
Closed

The new curlOptions in 2.1.4 does not work #330

HagnMarkus opened this issue Feb 6, 2023 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:bug Bug
Milestone

Comments

@HagnMarkus
Copy link

What steps will reproduce the problem?

Use the new curlOptions option, e.g.

$curlOptions = [
    CURLOPT_SSL_VERIFYPEER => false
]

What's expected?

array_merge merges the normal options with curlOptions

What do you get instead?

Yes, it will merge. But all the keys are renumbered! All CURLOPT-entries are invalid!

Additional info

The + operator will preserve the keys

Q A
Yii version 2.0.47 (yii2-elasticsearch: 2.1.4)
PHP version 7.4.30
Operating system Windows 10
@samdark samdark added type:bug Bug status:ready for adoption Feel free to implement this issue. labels Feb 6, 2023
@samdark samdark closed this as completed in 483baae Feb 9, 2023
@samdark samdark added this to the 2.1.3 milestone Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants