-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: remove default 'error' listener on upgrade #18868
Conversation
Remove the default `'error'` listener when the socket is freed. This is consistent with the client and prevents spurious `'clientError'` events from being emitted on the server.
Removed some labels as this needs at least 2 TSC approvals. |
@lpinca just as a thing about how I understand the About fast tracking - somewhat the same. It needs the two LGs and I wait for others to "approve" the fast-track. Therefore I still think the two labels apply. Besides the fact that I personally do not think that this is semver-major. I see this as a patch. |
For me "ready" means ready to be landed and "fast track" a patch that doesn't need to wait the 48h or a critical bug fix. It is definitely semver-major. It's currently possible to not add an error listener after the upgrade if you are fine with the default one. With this patch this is no longer true. |
@lpinca we do not really diverge in the meaning here. About the |
I think this goes against the 48h rule. If 48h did not pass it's not fully backed, thus not ready in my opinion. That said if it's ok to put the ready label as soon as there are enough approvals and a good CI so it be. Edit: maybe the ready label was introduced to signal that a PR has enough approvals and a good CI. In that case ignore me as I 100% agree that it should be added as soon as possible. |
Landed in 51be03c 🎉 |
Remove the default `'error'` listener when the socket is freed. This is consistent with the client and prevents spurious `'clientError'` events from being emitted on the server. PR-URL: nodejs#18868 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Remove the default `'error'` listener when the socket is freed. This is consistent with the client and prevents spurious `'clientError'` events from being emitted on the server. PR-URL: nodejs#18868 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Remove the default
'error'
listener when the socket is freed. This is consistent with the client and prevents spurious'clientError'
events from being emitted on the server.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
http