title: throw new Error('Can\'t set headers after they are sent.');
body: <p>I use from socket.io and nodejs with express. i have this error :</p>
  
  <p><code>
  throw new Error('Can\'t set headers after they are sent.');
  </code></p>
  
  <p>i use from </p>
  
  <pre><code>  "dependencies": {
      "express": "~3.3.6",
      "socket.io": "0.9.16",
      "jade": "~0.35.0",
      "less-middleware": "~0.1.12",
      "redis": "~0.8.4",
      "connect-redis": "~1.4.5",
      "longjohn": "~0.2.1",
      "mongoose": "~3.6.20"
  </code></pre>
  
  <p>and </p>
  
  <pre><code>app.use('/static', express.static(path.join(__dirname, 'public')));
  </code></pre>
  
  <p>how i can fixed this problem?</p>