Due to changes in Node.js, the old approach of destroying the request is no longer suitable, as the check within the method itself determines that it has already been destroyed.
Approach
We have added a closeConnectionOnError method in RequestPipelineContext that bypasses this check.
Purpose
Due to changes in Node.js, the old approach of destroying the request is no longer suitable, as the check within the method itself determines that it has already been destroyed.
Approach
We have added a
closeConnectionOnError
method inRequestPipelineContext
that bypasses this check.References
issue 7097
Pre-Merge TODO