title: Set and handle http timeouts in express / node.js
body: <p>There's very little documentation and reasoning on how to handle and set http timeouts in express.</p>
  
  <p>I think they can be set via:</p>
  
  <pre><code>req.connection.setTimeout(600000);
  </code></pre>
  
  <p><strong>Update:</strong> I got this working to set it, confirmed.</p>
  
  <p>But after this limit, the server comes back with "No data received". I tried this module <a href="https://github.com/tommydudebreaux/express-timeout" rel="nofollow">express-timeout</a> and it didn't work.</p>
  
  <p>Ideas?</p>