What happens when MaxKeepAliveRequests limit is exceeded?
If a user hits the 开发者_如何学编程MaxKeepAliveRequests limit, what happens?
Does the user get an error or does it just create a new connection?
MaxKeepAliveRequests is used in combination with the KeepAlive flag. When the user makes MaxKeepAliveRequests requests the connection will be closed at the end of the response. Apache may also close the connection if the KeepAliveTimeout is reached. The client will get a broken pipe (or connection closed depending on your operating system) if they try to make another request on the socket.
To a certain extend it is up to the client to decide what it does. It could crash or catch the exception and make another request.
My understanding is Apache will close the process and create a new process.
There will be a header "connection:close" in the last response.
精彩评论