We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f1d8c3 + 004d4d5 commit 09c0216Copy full SHA for 09c0216
lib/request.js
@@ -226,6 +226,7 @@ internals.Request.prototype._execute = function (route) {
226
var self = this;
227
228
this._route = route;
229
+ var isReplied = false;
230
231
var execute = function () {
232
@@ -279,11 +280,11 @@ internals.Request.prototype._execute = function (route) {
279
280
281
var reply = function (err) {
282
- if (self._isReplied === true) { // Prevent any future responses to this request
283
+ if (isReplied === true) { // Prevent any future responses to this request
284
return;
285
}
286
- self._isReplied = true;
287
+ isReplied = true;
288
clearTimeout(self._serverTimeoutId);
289
290
// Error exit
0 commit comments