summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/rc/node_modules/minimist/test/parse_modified.js
diff options
context:
space:
mode:
authorDenys Otrishko <shishugi@gmail.com>2019-11-18 12:41:02 +0200
committerRich Trott <rtrott@gmail.com>2019-11-20 13:18:46 -0800
commita30a9f8193ddd61dfadc2d5d79784b682027b319 (patch)
tree8e541ec58034d823df9c92cf0c6da22b3e086730 /deps/npm/node_modules/rc/node_modules/minimist/test/parse_modified.js
parent3871cc5f0c791632d2555e159873530bfdd02d4f (diff)
downloadandroid-node-v8-a30a9f8193ddd61dfadc2d5d79784b682027b319.tar.gz
android-node-v8-a30a9f8193ddd61dfadc2d5d79784b682027b319.tar.bz2
android-node-v8-a30a9f8193ddd61dfadc2d5d79784b682027b319.zip
test: clean up http-set-trailers
* remove shared state of request counting from each listener by using callbacks to report test finish. This also fixes slight race condition where one of the request could finish before the other was taken into account resulting in ECONNREFUSED due to premature server.close() * slightly move code for better cohesion * fix error comment in testHttp10 'Trailer ...' -> 'No trailer ...' PR-URL: https://github.com/nodejs/node/pull/30522 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/rc/node_modules/minimist/test/parse_modified.js')
0 files changed, 0 insertions, 0 deletions