Node 0.10.3 crash #6

Closed
jsmarkus opened this Issue Apr 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

jsmarkus commented Apr 5, 2013

Probably on static middleware

~/opt/node-v0.10.3-linux-x64/bin/node app.js 
   info  - socket.io started
LogMyErrors server listening on port 7001

http.js:692
    throw new Error('Can\'t set headers after they are sent.');
          ^
Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (http.js:692:11)
    at ServerResponse.res.setHeader (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/lib/patch.js:59:22)
    at next (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/lib/proto.js:153:13)
    at resume (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/lib/middleware/static.js:60:7)
    at SendStream.error (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/lib/middleware/static.js:73:37)
    at SendStream.EventEmitter.emit (events.js:95:17)
    at SendStream.error (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:144:51)
    at SendStream.onStatError (/home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:245:48)
    at /home/mark/PROJECTS/log-my-errors/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:317:26
    at Object.oncomplete (fs.js:107:15)

jsmarkus closed this in 11d705a Apr 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment