Hello,
this PR to change the "close" event handler from reject to resolve in order to make the promise end with no errors.
When a http requested is issued and then cancelled by the client the "finish" event is not triggered (https://nodejs.org/docs/latest-v16.x/api/http.html#event-close_1)
Hello, this PR to change the "close" event handler from reject to resolve in order to make the promise end with no errors. When a http requested is issued and then cancelled by the client the "finish" event is not triggered (https://nodejs.org/docs/latest-v16.x/api/http.html#event-close_1)
Thanks!