CS FundamentalsHardWipro · Accenture pattern
An HTTP/2 connection carries multiple concurrent request/response streams over a single TCP connection. What fundamentally changed from HTTP/1.1 to make this safe without head-of-line blocking at the HTTP layer?
- A. Each message is split into length-prefixed, stream-ID-tagged frames, so independent streams can be interleaved and reassembled correctly regardless of arrival order
- B. HTTP/2 simply opens a new TCP connection per stream internally
- C. HTTP/2 requires all responses to be sent in request order, same as pipelining
- D. HTTP/2 removed the need for a response body entirely
Correct answer: A. Each message is split into length-prefixed, stream-ID-tagged frames, so independent streams can be interleaved and reassembled correctly regardless of arrival order
HTTP/2 framing tags every frame with a stream identifier, letting the receiver demultiplex interleaved frames into separate logical streams; this is the mechanism that removes HTTP-layer head-of-line blocking (TCP-layer HOL blocking can still occur, which HTTP/3 over QUIC addresses).
More Computer Networks questions
- A client validates a server's TLS certificate chain. Which check, if it fails, must cause the client to reject the connection even though…
- A (7, 4) block code has minimum Hamming distance 3. How many bit errors can it reliably correct, and how many can it reliably just detect…
- A (15, 11) block code has minimum Hamming distance 3. How many bit errors can it reliably correct, and how many can it reliably just…
- A (12, 8) block code has minimum Hamming distance 4. How many bit errors can it reliably correct, and how many can it reliably just detect…
- How many parity bits does a single-error-correcting Hamming code need to protect 5 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 9 data bits?