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 CurlMultiHandle causes a busy immediately when the first byte is received #3218

Open
wants to merge 3 commits into
base: 7.8
Choose a base branch
from

Conversation

frodeborli
Copy link

I've provided a patch to the CurlMultiHandler which leverages the event loop. This allows TaskQueue implementations to properly sleep between each invocation of the \curl_multi_exec, and added a curl_multi_select() statement inside the busy wait loop that is meant to "wrap up" things.

@frodeborli
Copy link
Author

I'm not sure what I can do with the PHPStan tests. They seem to be unrelated to my patch.

@GrahamCampbell
Copy link
Member

GrahamCampbell commented May 20, 2024

It's probably because you ran composer and phpstan with a different version of PHP. You'd need to use our Makefile. e.g. make static-psalm-update-baseline. You need to use PHP 7.4.

@frodeborli
Copy link
Author

I made the commit to the 7.8 branch. Should I also make it for the 7.9 and 8.0?

@GrahamCampbell
Copy link
Member

I made the commit to the 7.8 branch. Should I also make it for the 7.9 and 8.0?

No.

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.

None yet

2 participants