Skip to content

Conversation

@santigimeno
Copy link
Member

It can happen that the HTTP connection is closed before the server has received
all the requests, thus the server close condition is never reached. To solve
this, close the server when the socket is fully closed.

It tries to fix the following failure I'm sometimes getting in OS X:

HTTP/1.1 200 OK Date: Wed, 25 Nov 2015 22:24:23 GMT Connection: keep-alive Content-Length: 2 ok Command: out/Release/node /Users/sgimeno/node/node/test/parallel/test-http-many-ended-pipelines.js --- TIMEOUT --- 

It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed.
@mscdexmscdex added http Issues or PRs related to the http subsystem. test Issues and PRs related to the tests. macos Issues and PRs related to the macOS platform / OSX. labels Nov 26, 2015
@bnoordhuis
Copy link
Member

@JungMinu
Copy link
Member

LGTM

1 similar comment
@evanlucas
Copy link
Contributor

LGTM

evanlucas pushed a commit that referenced this pull request Dec 10, 2015
It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed. PR-URL: #4041 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
@evanlucas
Copy link
Contributor

Landed in 23e7703. Thanks!!

cjihrig pushed a commit that referenced this pull request Dec 15, 2015
It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed. PR-URL: #4041 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
@rvaggrvagg mentioned this pull request Dec 17, 2015
MylesBorins pushed a commit that referenced this pull request Dec 29, 2015
It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed. PR-URL: #4041 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed. PR-URL: #4041 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
It can happen that the HTTP connection is closed before the server has received all the requests, thus the server close condition is never reached. To solve this, close the server when the socket is fully closed. PR-URL: nodejs#4041 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.macosIssues and PRs related to the macOS platform / OSX.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@santigimeno@bnoordhuis@JungMinu@evanlucas@mscdex@jasnell@MylesBorins