node-restify
node-restify copied to clipboard
Error: socket hang up Crashes server!
Hi so I get this error and my server crashes whenever the client hangs up before the response is sent:
events.js:72 throw er; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError (http.js:1473:15) at CleartextStream.socketCloseListener (http.js:1523:23) at CleartextStream.EventEmitter.emit (events.js:117:20) at CryptoStream.destroy (tls.js:688:10) at process._tickDomainCallback (node.js:459:13)
Any ideas?
Could you provide code snippets?