(self, error, cb)
| 469 | }; |
| 470 | |
| 471 | function onError(self, error, cb) { |
| 472 | // This is to keep backward compatible behavior. |
| 473 | // An error is emitted only if there are listeners attached to the event. |
| 474 | if (self.listenerCount('error') === 0) { |
| 475 | cb(); |
| 476 | } else { |
| 477 | cb(error); |
| 478 | } |
| 479 | } |
| 480 | |
| 481 | module.exports = { |
| 482 | IncomingMessage, |
nothing calls this directly
no test coverage detected
searching dependent graphs…