server.requestTimeout


设置接收来自客户端的整个请求的超时时间(以毫秒为单位)。

【Sets the timeout value in milliseconds for receiving the entire request from the client.】

如果超时到期,服务器会以状态码 408 响应,而不会将请求转发给请求监听器,然后关闭连接。

【If the timeout expires, the server responds with status 408 without forwarding the request to the request listener and then closes the connection.】

它必须设置为非零值(例如 120 秒),以防止在服务器未部署反向代理的情况下可能发生的拒绝服务攻击。

【It must be set to a non-zero value (e.g. 120 seconds) to protect against potential Denial-of-Service attacks in case the server is deployed without a reverse proxy in front.】