Skip to content

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