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
  • 51,449
  • 17
  • 135
  • 130
Yu Gu
  • 2,101
  • 3
  • 15
  • 31

0 Answers0