Unverified Commit ba449f3b authored by Luigi Pinca's avatar Luigi Pinca Committed by Anna Henningsen
Browse files

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: https://github.com/nodejs/node/issues/13435
Refs: https://github.com/nodejs/node/pull/11926
PR-URL: https://github.com/nodejs/node/pull/13578


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 12fd63d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment