http timeout
Function
The http timeout command sets the idle timeout duration of the HTTP server.
The undo http timeout command restores the default idle timeout duration of the HTTP server.
By default, the idle timeout duration of the HTTP server is 10 minutes.
Parameters
Parameter | Description | Value |
---|---|---|
timeout | Specifies the idle timeout duration of the HTTP server for online users. | The value is an integer that ranges from 1 to 35791, in minutes. |
Usage Guidelines
Usage Scenario
A maximum of five web users are supported at present. When the fifth web user logs in to the HTTP server, any other user cannot log in to the HTTP server even if any of the five users does not perform operations for a long time. The idle timeout duration is configured to release web resources in time. To occupy web channels for a long time, you must set the idle timeout duration to the maximum value.
Precautions
After you run the http timeout command, the idle timeout durations are the same for all web users who log in to the HTTP server. If the idle timeout duration expires, a user is disconnected from the HTTP server and the HTTP server notifies the user only after the user sends the next login request.
If the http timeout command is configured several times, only the latest configuration takes effect.