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:Rich Trott <rtrott@gmail.com> Reviewed-By:
Robert Nagy <ronagy@icloud.com> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
parent
278c91c9
Please register or sign in to comment