server.maxRequestsPerSocket
- <number> 每个套接字的请求数。 默认值: 0(无限制)
关闭保持活动的连接之前,套接字可以处理的最大请求数。
0
值将禁用限制。
当达到限制时,则它会将 Connection
标头值设置为 close
,但不会实际地关闭连接,达到限制后发送的后续请求将获得 503 Service Unavailable
作为响应。
- <number> Requests per socket. Default: 0 (no limit)
The maximum number of requests socket can handle before closing keep alive connection.
A value of 0
will disable the limit.
When the limit is reached it will set the Connection
header value to close
,
but will not actually close the connection, subsequent requests sent
after the limit is reached will get 503 Service Unavailable
as a response.