Skip to content

[HttpClient] Limit curl's connection cache size #60806

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

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

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues #60513
License MIT

Trying to accommodate for both #58278 and #60513

By default, $maxHostConnections is 6, so that this allows 50x6 = 300 connections max, which means one third of the typical ulimit -n (max open file descriptors), which is 1024.

We could allow setting both options separately, but for now, as a bugfix, this might be enough.

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