title: what is the maximum timeout can be set in jquery ajax?
body: <pre><code>$.ajax(
     url:"",
     async: true,
     timeout: 2*60*60*1000, //2 hours,
     success: function(){},
     error:  function(){}
  );
  </code></pre>
  
  <p>In a jQuery ajax request, if I set the timeout with a big value, or left it empty, will it keep waiting until the server returns a result?</p>
  
  <p>Actually, I expect the server will response in 1.5 hours, so in my js script I　set timeout to 2 hours, but I found the Ajax jump to error function (with msg code 404) in less than 1 hour. It means ajax abort the waiting ahead of the time . </p>
  
  <p>So I wonder if there is a maximum timeout value can ajax be set?</p>