Skip to content

Commit

Permalink
fix: regression which broke auto-destroying http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
slippedandmissed committed Mar 26, 2024
1 parent ab3f0f9 commit 18c7c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {

// Create the request
req = transport.request(options, function handleResponse(res) {
if (req.destroyed) return;
if (req.aborted) return;

const streams = [res];

Expand Down

0 comments on commit 18c7c00

Please sign in to comment.