-
-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(router): pass socket to response constructor. (#1743)
Passing the socket from the request to the `IncomingMessage` is what happens in native Node. Using a dummy `EventEmitter` then tacking the socket onto the response later is kludge from historical tech-debt that can now safely be cleaned up.
- Loading branch information
1 parent
f4a208b
commit d687179
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters