diff --git a/lib/requestHandler.js b/lib/requestHandler.js index 3c80a9284..9aec7c219 100644 --- a/lib/requestHandler.js +++ b/lib/requestHandler.js @@ -536,6 +536,10 @@ function getConnectReqHandler(userRule, recorder, httpsServerMgr) { let resourceInfoId = -1; const requestStream = new CommonReadableStream(); + cltSocket.on('error', (e) => { + console.error(e) + }); + /* 1. write HTTP/1.1 200 to client 2. get request data