title: Timeout in node.js request
body: <p>I wonder how does <code>node.js request</code> module work in regard to <code>timeout</code> parameter.</p>
  
  <p>What happens after <code>timeout</code> time period have passed? I.e:</p>
  
  <pre><code>var request = require('request');
  var options = {
      url: Theurl,
      timeout: 300000
  };
  
  request(options, function(error, resp, body) {...
  </code></pre>
  
  <p>What happens after <code>300000</code>? Does request try to request the url again or not?</p>
  
  <p>I also found that <code>Linux Kernel</code> have a default 20 sec <code>TCP socket connection timeout.</code> (<a href="http://www.sekuda.com/overriding_the_default_linux_kernel_20_second_tcp_socket_connect_timeout" rel="nofollow">http://www.sekuda.com/overriding_the_default_linux_kernel_20_second_tcp_socket_connect_timeout</a>)
  Does it mean that <code>timeout</code> option in <code>request</code> will be max 20 sec (if I dont change the <code>Linux Kernel timeout</code>), regardless of what I set in <code>options</code>?
  I use <code>Ubuntu</code>.</p>