http: remove ClientRequest.prototype.pause()

ClientRequest.prototype.pause() is not needed. ClientRequest is a writable
stream and deferring to OutgoingMessage.prototype.pause() is broken, the method
does not exist.
pull/24503/head
Yoshihiro Kikuchi 2012-03-07 15:58:21 +09:00 committed by Ben Noordhuis
parent 024451c65c
commit f82ef0f7c3
1 changed files with 0 additions and 6 deletions

View File

@ -1431,12 +1431,6 @@ ClientRequest.prototype.setNoDelay = function() {
ClientRequest.prototype.setSocketKeepAlive = function() {
this._deferToConnect('setKeepAlive', arguments);
};
ClientRequest.prototype.pause = function() {
var self = this;
self._deferToConnect(null, null, function() {
OutgoingMessage.prototype.pause.apply(self, []);
});
};
exports.request = function(options, cb) {