Skip to content

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

Merged
clue merged 1 commit intoreactphp:masterfrom
clue-labs:pause-resume
Mar 28, 2017
Merged

Add pause() and resume() methods to limit active connections#84
clue merged 1 commit intoreactphp:masterfrom
clue-labs:pause-resume

Conversation

@clue
Copy link
Copy Markdown
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