HTTP Keep-alive DetailedHTTP is a typical example of a request response pattern in which a client sends a request message to the server to respond to this information. In the old HTTP version, each request will be created with a new
HTTP is a typical example of a request response pattern in which a client sends a request message to the server to respond to this information. In the old HTTP version, each request will be created with a new client-to- server connection, send a
HTTP is aRequest ResponseA typical example of a pattern is a client sending a request message to the server to respond to this information. In the old HTTP version, each request will be created with a newClient-ServerConnection, send a request on
First, keep-alive mode1. The HTTP protocol uses "request-answer" mode, when using normal mode, that is, non-keepalive mode , each request/reply client and server to create a new connection, immediately after the completion of the connection (the
HTTP keep-alive-sky-blog
HTTP keep-alive
HTTPKeep-Alive
Keep-AliveThis function keeps the client-to-server connection valid. When a subsequent request to the server appears,Keep-AliveFunction to avoid or re-establish a connection. Most Web
HTTP is a typical example of a request response pattern in which a client sends a request message to the server to respond to this information. In the old HTTP version, each request will be created with a new client-to- server connection, send a
HTTP is aRequest ResponseA typical example of a pattern is a client sending a request message to the server to respond to this information. In the old HTTP version, each request will be created with a newClient-ServerConnection, send a request on
The default connection timeout time of IIS is 2 minutes. Therefore, when the node program uses keep-alive for access, the keep-alive time should not exceed 2 minutes. Otherwise, after the request is complete, the node continues to maintain the
The keep-alive feature makes the client-to-server connection persistent, and when a subsequent request to the server occurs, the Keep-alive feature avoids establishing or re-establishing the connection. Most Web servers on the market, including
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.