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

limit connections to host #2249

Closed
wants to merge 2 commits into from
Closed

Conversation

Gemorroj
Copy link

@Gemorroj Gemorroj commented Jan 8, 2019

Not a very nice fix for #2248.
But at least something.

@sagikazarmark
Copy link
Member

Wouldn't using 'curl' request option be a solution?

@Gemorroj
Copy link
Author

@sagikazarmark this options for curl_init, not for curl_multi_init https://github.com/guzzle/guzzle/blob/master/src/Handler/CurlMultiHandler.php#L50

@alexeyshockov
Copy link
Collaborator

alexeyshockov commented Apr 15, 2019

IMO we need a more elegant solution for that. A new option curl_multi (like 'curl' request option, but for curl_multi_init()/curl_multi_setopt()) is more flexible, since there are many CURLMOPT_* configuration constants available.

@alexeyshockov
Copy link
Collaborator

@sagikazarmark, @Gemorroj, put some code in #2287. Take a look.

@Tobion
Copy link
Member

Tobion commented Jun 7, 2019

#2287 looks better to me indeed

@Tobion Tobion closed this Jun 7, 2019
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

4 participants