(socket)
| 913 | |
| 914 | |
| 915 | function tryReadStart(socket) { |
| 916 | // Not already reading, start the flow |
| 917 | debug('Socket._handle.readStart'); |
| 918 | socket._handle.reading = true; |
| 919 | const err = socket._handle.readStart(); |
| 920 | if (err) |
| 921 | socket.destroy(new ErrnoException(err, 'read')); |
| 922 | } |
| 923 | |
| 924 | // Just call handle.readStart until we have enough in the buffer |
| 925 | Socket.prototype._read = function(n) { |