Skip to content

Conversation

@Koc
Copy link
Contributor

@Koc Koc commented Dec 12, 2025

Q A
Branch? 8.1
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

PHP 8.5 adds support of the persistent cURL handles which can improve performance for HTTP requests.

@carsonbot carsonbot added this to the 8.1 milestone Dec 12, 2025
@Koc Koc force-pushed the feature/shared-curl-handles branch 3 times, most recently from 22bbb9c to 2482166 Compare December 12, 2025 01:03
@Koc Koc force-pushed the feature/shared-curl-handles branch from 2482166 to 8e06a61 Compare December 12, 2025 01:15
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Doing this conflicts with the reset method.
It'd be strange to share the curl state between FPM processes but also reset it between requests.
The patch in this PR should remove the unset($this->share); to be consistent.
Then, we should discuss about the benefit vs risk of the shared vs insulate approach.
I don't have data about either so I'm open to more feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants