Restify中接入Socket.io报Error:Can’t set headers的错误解决 发现问题在restify的官方文档中,接入socket.io的代码是酱汁的:http://restify.com/#socketiovarserver= restify