diff options
author | Denys Otrishko <shishugi@gmail.com> | 2019-11-18 12:41:02 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-11-20 13:18:46 -0800 |
commit | a30a9f8193ddd61dfadc2d5d79784b682027b319 (patch) | |
tree | 8e541ec58034d823df9c92cf0c6da22b3e086730 /deps/npm/docs/content/using-npm/scope.md | |
parent | 3871cc5f0c791632d2555e159873530bfdd02d4f (diff) | |
download | node-new-a30a9f8193ddd61dfadc2d5d79784b682027b319.tar.gz |
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/docs/content/using-npm/scope.md')
0 files changed, 0 insertions, 0 deletions