Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A reference to the initial IncomingMessage object (the first HTTP request of the session) is kept in memory by default (`socket.request`), so its attached ServerResponse object (`req.res`) would not be garbage-collected. This will now be the case. Note: the IncomingMessage object is needed in two cases: - when working with the `express-session` middleware (`request.session`) - when fetching the certificate of the client with `request.socket.getPeerCertificate()` That's why removing it would be a breaking change.
- Loading branch information