求解两种socket hang up 的原因
第一种:
Error: socket hang up at createHangUpError (_http_client.js:200:15) at Socket.socketOnEnd (_http_client.js:285:23) at emitNone (events.js:72:20) at Socket.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at nextTickCallbackWith2Args (node.js:437:9) at process._tickDomainCallback (node.js:392:17) 对于这类异常uncaughtException和request.error()都监听不到
第二种:
Error: socket hang up at createHangUpError (http.js:1379:15) at Socket.socketOnEnd [as onend] (http.js:1476:23) at TCP.onread (net.js:419:26) 是可以用被监听到的
对于不同类型的socket hang up哪里有具体说明吗?