Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information...
xenyou authored and bnoordhuis committed Mar 7, 2012
1 parent 024451c commit f82ef0f7c3a024474847f10f18cf39df5f743b38
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/http.js
@@ -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) {

0 comments on commit f82ef0f

Please sign in to comment.
You can’t perform that action at this time.