Skip to content

Commit

Permalink
browserify bundle update
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Jan 8, 2016
1 parent 510e31c commit 979cc39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/browserify-public/browserify-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,10 @@ function RequestOverrider(req, options, interceptors, remove, cb) {
req.socket.destroy();

req.emit('abort');

var connResetError = new Error('socket hang up');
connResetError.code = 'ECONNRESET';
emitError(connResetError);
};

// restify listens for a 'socket' event to
Expand Down Expand Up @@ -2120,8 +2124,7 @@ function RequestOverrider(req, options, interceptors, remove, cb) {
}
});
}
};

}
}
}
};
Expand Down

0 comments on commit 979cc39

Please sign in to comment.