| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4d78eb8 commit 6ed4e69
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -377,15 +377,6 @@ function writeAfterFIN(chunk, encoding, cb) { | |||
| 377 | 377 | } | |
| 378 | 378 | } | |
| 379 | 379 | ||
| 380 | - Socket.prototype.read = function(n) { | ||
| 381 | - if (n === 0) | ||
| 382 | - return stream.Readable.prototype.read.call(this, n); | ||
| 383 | - | ||
| 384 | - this.read = stream.Readable.prototype.read; | ||
| 385 | - this._consuming = true; | ||
| 386 | - return this.read(n); | ||
| 387 | - }; | ||
| 388 | - | ||
| 389 | 380 | Socket.prototype.setTimeout = function(msecs, callback) { | |
| 390 | 381 | if (msecs === 0) { | |
| 391 | 382 | timers.unenroll(this); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments