Error: Can't set headers after they are sent
Opened this issue · 0 comments
Nowaker commented
Number of exceptions: 4000 in 1 day. (Hacker News effect)
Seen on: 0.7.14
[2014-10-29T22:36:15.843Z] [4008] [Uncaught exception] Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:689:11)
at ServerResponse.setWriteHeadHeaders (/usr/lib/node_modules/http-master/node_modules/compression/node_modules/on-headers/index.js:80:19)
at ServerResponse.writeHead (/usr/lib/node_modules/http-master/node_modules/compression/node_modules/on-headers/index.js:39:36)
at Server.finish (/usr/lib/node_modules/http-master/node_modules/node-static/lib/node-static.js:123:17)
at finish (/usr/lib/node_modules/http-master/node_modules/node-static/lib/node-static.js:168:14)
at /usr/lib/node_modules/http-master/node_modules/node-static/lib/node-static.js:339:13
at streamFile (/usr/lib/node_modules/http-master/node_modules/node-static/lib/node-static.js:385:13)
at ReadStream.fs.createReadStream.on.on.on.pipe.end (/usr/lib/node_modules/http-master/node_modules/node-static/lib/node-static.js:378:17)
at ReadStream.emit (events.js:117:20)
at fs.js:1609:14
at Object.oncomplete (fs.js:107:15)