Commit ddac3bd1 authored by Daniele Belardi's avatar Daniele Belardi Committed by Antoine du Hamel
Browse files

http: add test case for req-res close ordering

Since 55e83cbe
has changed the ordering of the close event, add a test case.
IncomingMessage will emit close before the response is sent in case the
server is consuming data from it.

Refs: https://github.com/nodejs/node/pull/33035#issuecomment-751489998

PR-URL: https://github.com/nodejs/node/pull/36645


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent 278c91c9
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