将 http.createServer 与 node.js 一起使用时,出现以下错误:
events.js:48
throw arguments[1]; // Unhandled 'error' event
^
Error: socket hang up
at createHangUpError (http.js:1092:15)
at Socket.onend (http.js:1155:27)
at TCP.onread (net.js:349:26)
简单的代码:
http.createServer(
connect_cache({rules: [{regex: /.*/, ttl: 60000}]}),
function(b_request, b_response){ ..... }
);
那么,错误是什么意思呢?我该如何解决?
感谢 !