Uh oh!
There was an error while loading. Please reload this page.
http: fix deferToConnect comments - #27876
Conversation
Trott
commented
May 26, 2019
Is it non-trivial to write a reliable test for this? |
ronag
commented
May 26, 2019
mcollina
commented
May 26, 2019
I do not see what is the bug that you are trying to fix. Essentially, I do not know what behavior you would like to change. Neither this PR or #27875 contain an understandable example. |
ronag
commented
May 26, 2019
I can't explain it any better than stated in the issue and my previous comment. |
I've updated the PR. I believe the current behavior is as intended and it's just the description that needs a slight modification. The method could also possibly have a better name but I dare not modify it... |
There was a problem hiding this comment.
You might want to expand this a bit more. What does it mean for the socket to be assigned?
There was a problem hiding this comment.
Yes, but why? Sockets are assigned to a request when they are available in the agent.
There was a problem hiding this comment.
expanded to follow the description from https://nodejs.org/api/http.html#http_event_socket
nodejs-github-bot
commented
May 27, 2019
nodejs-github-bot
commented
May 30, 2019
nodejs-github-bot
commented
May 30, 2019
Trott
commented
Jun 2, 2019
Landed in c6f545a |
PR-URL: nodejs#27876 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #27876 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Fixes#27875. Fix description to actual intended and current behaviour.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes