GATE / CS ARCHIVE

GATE CSE 2026 SET 1 / QUESTION 19

HTTP/1.1 persistence and pipelining

Computer Networks · Application Protocols · Full GATE CSE 2026 Set 1 paper

GATE 2026 Set 1, Q19 1 mark · MSQ
Report issue

Application Protocols

Question 19, GATE 2026: For ordinary direct browser-to-origin HTTP/1.1, evaluate: A several same-page objects on one server can use one TCP connection; B objects on different servers can use that same direct TCP connection; C another request may be sent before the prior object finishes downloading; D several pages on one server may share a TCP connection.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, C, D

Givens and goal

For ordinary direct browser-to-origin HTTP/1.1, evaluate: A several same-page objects on one server can use one TCP connection; B objects on different servers can use that same direct TCP connection; C another request may be sent before the prior object finishes downloading; D several pages on one server may share a TCP connection.

Approach

Separate persistent connections from pipelining and from changing the remote TCP endpoint.

Step-by-step solution

1. A persistent connection can carry successive request/response exchanges with its server. Its lifetime is not limited to one embedded object, nor to one HTML page. Hence A and D are supported.
2. Pipelining permits a client to send another request before the preceding response has finished arriving. Responses still arrive in request order; pipelining is not arbitrary interleaving of response bodies. Thus C is supported.
3. A direct TCP connection has a fixed remote endpoint. It cannot become a direct connection to another server merely because the next resource belongs to the same webpage. Under the question's ordinary browser-to-origin-server interpretation, B is false.

Standards cross-check: [RFC 9112, section 9.3](https://httpwg.org/specs/rfc9112.html#persistent.connections) describes persistent connections and section 9.3.2 describes pipelining. Protocol support does not imply that every browser currently enables pipelining.

Interpretation caveat: A connection to a forward proxy can carry requests for multiple origins. Therefore the explanation rejects B for direct browser-to-server connections, not as an absolute statement about every HTTP deployment. This caveat does not change the published key.

Worked connection example: a browser can request /index.html, /style.css and /logo.png from the same origin through one persistent TCP connection. With pipelining it may send the later requests before the first response body is complete, although HTTP/1.1 preserves response order. It can later request /about.html on that still-open connection too. This explains A, C and D without assuming that pipelining provides HTTP/2-style multiplexing.

Original paper, page 15 · Answer key