diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-04-14 14:01:13 +0200 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-04-17 16:08:31 +0200 |
commit | 95fafc0254f6636b7c7546ac63599c79a7182fd9 (patch) | |
tree | b0956c354beccaabef4a871e1d1011c3ef6e3574 /lib/trace_events.js | |
parent | 4f2000f9fecbd7102403cc24b962f4e40994243a (diff) | |
download | android-node-v8-95fafc0254f6636b7c7546ac63599c79a7182fd9.tar.gz android-node-v8-95fafc0254f6636b7c7546ac63599c79a7182fd9.tar.bz2 android-node-v8-95fafc0254f6636b7c7546ac63599c79a7182fd9.zip |
http: fix undefined error in parser event
The current check for socket.server[kIncomingMessage] does not
account for the possibility of a socket.server that doesn't
have that property defined. Fix it.
PR-URL: https://github.com/nodejs/node/pull/20029
Fixes: https://github.com/nodejs/node/issues/19231
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Khaidi Chu <i@2333.moe>
Diffstat (limited to 'lib/trace_events.js')
0 files changed, 0 insertions, 0 deletions