http - 在哪里可以找到所有浏览器的默认超时设置?

标签 http browser timeout request

我正在寻找某种文档来指定每个浏览器(IE6/IE7/FF2/FF3 等)在请求放弃和超时之前等待请求的时间。

我没有任何运气试图得到这个。

有什么建议吗?

最佳答案

我设法找到了 network.http.connect.timeout对于更旧版本的 Mozilla:

This preference was one of several added to allow low-level tweaking of the HTTP networking code. After a portion of the same code was significantly rewritten in 2001, the preference ceased to have any effect (as noted in all.js as early as September 2001).

Currently, the timeout is determined by the system-level connection establishment timeout. Adding a way to configure this value is considered low-priority.

看起来 network.http.connect.timeout 已经有一段时间没有做任何事情了。

我还看到了对 network.http.request.timeout 的引用,所以我做了 Google search .结果包括很多人的链接,这些人建议其他人将其包含在 about:config 中,这似乎是一种错误的信念,认为它确实在做某事,因为同样的搜索会出现这个 about:config entries。文章:

Pref removed (unused). Previously: HTTP-specific network timeout. Default value is 120.

same page包含有关 network.http.connect.timeout 的附加信息:

Pref removed (unused). Previously: determines how long to wait for a response until registering a timeout. Default value is 30.

免责声明:MozillaZine 知识库中的信息可能不正确、不完整或已过时。

关于http - 在哪里可以找到所有浏览器的默认超时设置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1342310/

相关文章:

java - 使用HTTP进行实时音频流传输-选择协议(protocol)和Java实现

browser - 嵌入在浏览器中的Applet嵌入在JFrame中

http - iTunes 范围请求;播客被拒绝

php - 确定 PHP 脚本的命令行与 http 执行的规范方法是什么?

html - 加密iframe控件的src属性

javascript - 如何在浏览器中存储可被两个域访问的数据

python - 使用 Python 修复 uWSGI 中的管道错误

shell - 如何设置ssh超时时间?

perl - Mojolicious session 过期与 default_expiration

http - 为什么spring security会注销用户?