| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b221379 commit 3225601
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -370,16 +370,6 @@ function writeAfterFIN(chunk, encoding, cb) { | |||
| 370 | 370 | } | |
| 371 | 371 | } | |
| 372 | 372 | ||
| 373 | - Socket.prototype.read = function(n) { | ||
| 374 | - if (n === 0) | ||
| 375 | - return stream.Readable.prototype.read.call(this, n); | ||
| 376 | - | ||
| 377 | - this.read = stream.Readable.prototype.read; | ||
| 378 | - this._consuming = true; | ||
| 379 | - return this.read(n); | ||
| 380 | - }; | ||
| 381 | - | ||
| 382 | - | ||
| 383 | 373 | // FIXME(joyeecheung): this method is neither documented nor tested | |
| 384 | 374 | Socket.prototype.listen = function() { | |
| 385 | 375 | debug('socket.listen'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments