How does non persistent parallel HTTP connections work?

asked 2022-06-04 03:21:43 +0000

updated 2022-06-04 11:41:38 +0000

grahamb gravatar image

I have asked similar question earlier here as well, but at that time I wasn’t very clear about my question and my question was unclear, long and vague and I guess because of that many skipped that question.

Now I am 100% clear about my question.

https://i.stack.imgur.com/UepU0.png

Here

  1. First RTT is for TCP connection establishment

  2. Second RTT is to request the webpage and response(few bytes that gives structure of the page). Say the base file contains 2 elements called element1 and element2.

  3. Third RTT could be to establish the TCP Connection again

  4. Fourth RTT could be to request for the element1 and receive its response.

But it is receiving multiple responses, I don't understand how?

And when do the TCP Connections close, in which order?

This is how I believe it should be occurring: https://i.stack.imgur.com/gTVgZ.jpg

edit retag flag offensive close merge delete