http: handle cases where socket.server is null · nodejs/node@fff8a56 · GitHub
Skip to content

Commit fff8a56

Browse files
lpincaaddaleax
authored andcommitted
http: handle cases where socket.server is null
Fixes a regression that caused an error to be thrown when trying to emit the 'timeout' event on the server referenced by `socket.server`. Fixes: #13435 Refs: #11926 PR-URL: #13578 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 38a1cfb commit fff8a56

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

lib/_http_server.js

Lines changed: 5 additions & 0 deletions
Lines changed: 39 additions & 0 deletions

0 commit comments

Comments
 (0)