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

Add pause() and resume() methods to limit active connections #84

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

clue
Copy link
Member

@clue clue commented Mar 26, 2017

The pause() and resume() methods can be used to limit the number of active connections.

This can be used to stop accepting incoming connections once a certain limit is reached, so that the operating system backlog is responsible for managing pending connections.

I've prepared a follow-up PR for adds a simple API to control the maximum number of active connections.

@clue clue added this to the v0.6.0 milestone Mar 26, 2017
@clue clue merged commit 84d4981 into reactphp:master Mar 28, 2017
@clue clue deleted the pause-resume branch March 28, 2017 10:37
clue added a commit to clue-labs/socket that referenced this pull request Mar 29, 2017
Remove superfluous and undocumented ConnectionException
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