Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
Is there any maximum/minimum timeout for the xmlhttprequest?

Is there any maximum timeout for the xmlhttprequest ? Currently its not possible to set timeout value more than 1 minute in chrome. let xmlHttpRequest: XMLHttpRequest = new XMLHttpRequest(); xmlHttpRequest.timeout = 120000;

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

Yes, there is a maximum timeout for xmlhttprequest in chrome, and that is 1 minute. Unfortunately you can not increase the timeout by setting the timeout property of xmlhttprequest in chrome. But if you are on windows, you might possibly set the maixmum tmeout with the help of regedit, and the steps are ...

  • press window + r > type regedit > press enter
  • navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
  • create a DWORD vale named KeepAliveTimeout and set the data value 120000 (2 min.)
  • create another value named ServerInfoTimeout, following the same steps
  • restart PC
over 4 years ago · Santiago Trujillo Denunciar

0

No, the XMLHttpRequest object does not have a maximum timeout value, because the default timeout value is 0, meaning infinite.

Source: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout

You mentioned Chrome: the network stack you are on does have timeout limitations.

Google Chrome will not let you change the default timeout values.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda