Skip to content

Conversation

@Trott
Copy link
Member

@Trott Trott commented May 31, 2015

If the server is not accepting connections because maxConnections
is exceeded, the server should start accepting connections again
when a connection closes.

Eliminates a TODO comment. ref: #264

@mscdex mscdex added test Issues and PRs related to the tests. net Issues and PRs related to the net subsystem. labels May 31, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: space between { }

@Trott
Copy link
Member Author

Trott commented May 31, 2015

Updated the branch to conform to the style comments from @brendanashworth.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the data.toString is unnecessary here

@brendanashworth
Copy link
Contributor

Thanks for adding this test, it was really bad that something like this was untested beforehand.

@Trott
Copy link
Member Author

Trott commented Jun 2, 2015

Updated commit based on all comments from @brendanashworth

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: no space after function, so function() {

@brendanashworth
Copy link
Contributor

Sorry I missed the little style nitpick. Other than that, this LGTM.

edit: good use of promises btw 😄

If the server is not accepting connections because maxConnections
is exceeded, the server should start accepting connections again
when a connection closes.
@Trott
Copy link
Member Author

Trott commented Jun 3, 2015

OK, nit picked, new commit pushed!

brendanashworth pushed a commit that referenced this pull request Jun 3, 2015
If the server is not accepting connections because maxConnections
is exceeded, the server should start accepting connections again
when a connection closes.

PR-URL: #1855
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
@brendanashworth
Copy link
Contributor

Thanks, landed in bd99e8d.

andrewdeandrade pushed a commit to andrewdeandrade/node that referenced this pull request Jun 3, 2015
If the server is not accepting connections because maxConnections
is exceeded, the server should start accepting connections again
when a connection closes.

PR-URL: nodejs/node#1855
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
@cjihrig cjihrig mentioned this pull request Jun 4, 2015
@rvagg rvagg mentioned this pull request Jun 11, 2015
@Trott Trott deleted the maxconnect branch October 14, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants