In http1.1, a connection header may appear in both request and reponse headers. This header indicates how to process long links when the client and server communicate.
In http1.1, both the client and server support persistent connections by default. If the client uses the http1.1 protocol but does not want to use persistent connections, you must specify the connection value in the header as close; if the server side does not want to support persistent connections, you must specify the connection value close in the response.
Whether the request or response header contains a connection with the value of close, it indicates that the currently used TCP link will be broken after the request is processed on the current day. In the future, when the client initiates a new request, a new TCP link must be created.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service