0

HTTP is conventionally considered a stateless protocol. The browser establishes connection with the server during a request,and after the browser gets the response, the HTTP connection will be closed.

Also, HTTP is a application layer protocol. When the browser sends a request to the server or receives a response from the server, data is passed down to the next layer, then encapsulated into a transport layer protocol.

Here is the question.
Is the TCP connection between the browser and the server closed immediately after a request/response in HTTP? Or it will keep connection for a while?

Simon East
  • 55,742
  • 17
  • 139
  • 133
Yu Gu
  • 2,382
  • 5
  • 18
  • 33

0 Answers0