benschmaus / nodeload

HTTP load/traffic generator and benchmark tool built on Node.js
MIT License
399 stars 73 forks source link

Socket hang up error #23

Open leminhthuan opened 12 years ago

leminhthuan commented 12 years ago

Hi, when i try to create my proxy server with connect-cache and connect middleware , i get an error : ^ Error: socket hang up at createHangUpError (http.js:1092:15) at Socket.onend (http.js:1155:27) at TCP.onread (net.js:349:26)

the line create server has bellow content : --->connect.createServer(connect_cache({rules: [{regex: /.*/, ttl: 60000}]}),function(b_request, b_response){ .....}

any body help me to fix error ?

thank !