且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Java servlet 容器上指定 Http 请求超时参数

更新时间:2023-12-03 13:28:46

客户端的超时时间(即等待对 HTTP 请求的响应的时间)在客户端确定.对于 IE,请参见 this,对于 Firefox,请参见 这个.

The timeout from a client (i.e. how long it waits for a response to an HTTP request) is determined at the client. For IE, see this, and for Firefox see this.

您无法从服务器控制此超时.

You can't control this timeout from the server.