diff options
author | XadillaX <i@2333.moe> | 2017-12-14 12:40:32 +0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-12-27 19:42:57 +0100 |
commit | 6c0da349056578d36254d1aed973ddbaa252ce89 (patch) | |
tree | 1212fe5c4e42079a6c28c8bf30bfe80846c0debc /src/node_perf.h | |
parent | b0dd43cd6379a77a4e437f6ba1fdda7c0b4b744a (diff) | |
download | android-node-v8-6c0da349056578d36254d1aed973ddbaa252ce89.tar.gz android-node-v8-6c0da349056578d36254d1aed973ddbaa252ce89.tar.bz2 android-node-v8-6c0da349056578d36254d1aed973ddbaa252ce89.zip |
http: add rawPacket in err of `clientError` event
The `rawPacket` is the current buffer that just parsed. Adding this
buffer to the error object of `clientError` event is to make it possible
that developers can log the broken packet.
PR-URL: https://github.com/nodejs/node/pull/17672
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_perf.h')
0 files changed, 0 insertions, 0 deletions