title: Is there a default timeout in Node.js for http.request?
body: <p>In Node.js there is a <strong>default timeout for a server</strong> (for an incoming HTTP request) at 120000ms (2 minutes) (see <a href="http://nodejs.org/api/http.html#http_server_timeout" rel="noreferrer">HTTP's <code>server.timeout</code> documentation</a>).</p>
  
  <p>But if <strong>I want to do an HTTP request in Node.js (using <code>http.request</code>)</strong>,  looking at the documentation, I only find a function <a href="http://nodejs.org/api/http.html#http_request_settimeout_timeout_callback" rel="noreferrer">request.setTimeout()</a> to set the timeout manually.</p>
  
  <p>Anyone know if there is a default timeout for HTTP requests in Node.js? Or does Node.js try to send the HTTP request with no end?</p>