@nxtedition/lib 15.1.2 → 15.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/http.js +0 -4
- package/package.json +1 -1
package/http.js
CHANGED
|
@@ -108,8 +108,6 @@ module.exports.request = async function request(ctx, next) {
|
|
|
108
108
|
} else {
|
|
109
109
|
reqLogger.trace({ res, responseTime }, 'request completed')
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
ac.abort()
|
|
113
111
|
} catch (err) {
|
|
114
112
|
const reason = ac.signal.reason
|
|
115
113
|
const responseTime = Math.round(performance.now() - startTime)
|
|
@@ -181,8 +179,6 @@ module.exports.request = async function request(ctx, next) {
|
|
|
181
179
|
res.destroy()
|
|
182
180
|
}
|
|
183
181
|
}
|
|
184
|
-
} finally {
|
|
185
|
-
res.destroy()
|
|
186
182
|
}
|
|
187
183
|
}
|
|
188
184
|
|