0

The source of confusion is this answer.

To be honest, I know what is Http Request, Http Session, but I have never heard this - Http Connection. So it boils down to this only. What exactly is the difference b/w Http Request & Http Connection?

Community
  • 1
  • 1
Farhan stands with Palestine
  • 13,890
  • 13
  • 58
  • 105
  • A connection may be "kept open" for multiple requests in a serial manner to boost performance. – arkascha May 21 '16 at 10:59
  • @arkascha: Thanks. Is there any setting in G Chrome that I can tweak around, so that firing 2 GET requests one after another to the same resource on the server side, uses the very same HTTP Connection. – Farhan stands with Palestine May 21 '16 at 11:02
  • Browsers will always try to do that. It is up to the server if the protocol feature is offered. – arkascha May 21 '16 at 11:03
  • @arkascha: Thanks once again. But what do I need to look into so as to get convinced that the browser used the same HTTP Connection for the 2 GET requests, fired one after another. I mean is there something meaningful under NETWORK tabs. – Farhan stands with Palestine May 21 '16 at 11:05
  • Not sure if there is an easy way to find out... Might be that you have to sniff the traffic on the network layer and check the dynamic port numbers used in the requests. – arkascha May 21 '16 at 11:06
  • @arkascha: Okay, Thank you for all your prompt responses. – Farhan stands with Palestine May 21 '16 at 11:07

0 Answers0