NETWORKS & TRANSPORTAI-REVIEWED

How does QUIC handle stream loss and connection migration?

Useful first: UDP · optional, not a requirement

Choose your depth

Stay with the essentials, or look closer.

Simple explanation
2 min read · estimate

YOUR GOALDistinguish QUIC's transport service from UDP delivery and the HTTP/3 application protocol.

Several conversations, one connection

UDP carries it; QUIC adds transport behavior

QUIC sends its packets inside UDP datagrams. It adds reliable streams, loss recovery and congestion control rather than asking UDP to supply them. QUIC integrates TLS 1.3 for its cryptographic handshake and packet-protection keys; it is not simply an unprotected UDP conversation.

[1] [2]

Separate ordered streams

Imagine two downloads using separate streams in one connection. Missing bytes in the first need not hold up bytes already available in order on the second. Each stream has its own byte order; QUIC does not impose a single delivery order across all streams. Applications can still introduce dependencies of their own.

[1] [4]

HTTP/3 is one way to use QUIC

HTTP/3 maps HTTP messages onto QUIC. QUIC supplies transport and security functions; HTTP/3 defines how web exchanges use them. The names are not interchangeable, and using UDP does not itself make a protocol QUIC. HTTP/3 relies on QUIC's protected connection and per-stream delivery.

[4] [2]
THE IDEA TO KEEP

Separate the carrier, the transport and the application: UDP, QUIC and HTTP/3.

ONE THING TO WATCH OUT FOR

Because QUIC uses UDP, its streams cannot recover lost data.

QUIC supplies stream reliability above UDP; UDP's own service is not the whole stack.

A QUICK CHECK, NOT A TEST
A web exchange uses HTTP/3 over QUIC over UDP. Which statement describes the layers correctly?
Show the explanation

QUIC provides stream transport; HTTP/3 defines the HTTP mapping. QUIC supplies transport functions such as reliable streams. HTTP/3 uses that service for HTTP; UDP does not acquire a delivery guarantee merely by carrying QUIC.

Progress is saved only in this browser.

KEEP EXPLORINGTCP
Was this explanation clear?
Report a mistake by email
Basic explanation
3 min read · estimate

YOUR GOALIdentify which stream deliveries wait for missing bytes and which resources streams still share.

Trace the effect of a lost packet

A gap belongs to a stream

For ordered delivery, suppose stream A has bytes 0-99 and 200-299, but bytes 100-199 are missing. Its later block waits for that gap. If stream B's next bytes have arrived with no gap, A's missing bytes do not impose a transport ordering wait on B. This example assumes ordered delivery; implementations may also offer an out-of-order API.

[1] [4]

One packet can carry several streams

A QUIC packet can contain STREAM frames from A and B. If that packet is lost, both streams can have gaps, while a third stream C with contiguous received data has no such gap. Stream separation does not make each packet belong to exactly one stream. Loss recovery sends needed information again in new packets; packet boundaries are not application message boundaries.

[1] [3]

Independent delivery still shares resources

Receivers limit stream data both individually and across the connection. Senders also obey congestion control for the network path. Loss can reduce the sending opportunity available to several streams, even when those streams have no ordering dependency. Separate streams therefore avoid one kind of waiting; they do not create separate bandwidth or guarantee equal progress.

[1] [3]
THE IDEA TO KEEP

Inspect the bytes carried in the lost packet, then separate ordering waits from shared resource limits.

ONE THING TO WATCH OUT FOR

One lost QUIC packet can delay only one stream.

A packet may carry data from several streams, so its loss can leave gaps in all of them.

A QUICK CHECK, NOT A TEST
A lost packet carried missing data for A and B. Stream C has contiguous received data and no application dependency. Which conclusion is justified?
Show the explanation

A and B can wait for missing bytes; C has no ordering wait caused by those gaps. The lost packet can affect both streams it carried. QUIC imposes no cross-stream byte order on C, although future sending still shares congestion and connection limits.

Progress is saved only in this browser.

KEEP EXPLORINGTCP
Was this explanation clear?
Report a mistake by email
Advanced explanation
3 min read · estimate

YOUR GOALSeparate connection identification, migration permission and proof of reachability on a new path.

Keep a connection while changing its path

Connection identity is not a fixed IP address

Connection IDs let endpoints associate packets with an existing connection despite address changes, such as a client switching networks or a NAT changing its mapping. A connection can use multiple IDs; the ID need not remain constant. QUIC v1 migration is client-initiated, with a separate server-preferred-address mechanism. Active migration cannot begin before handshake confirmation and must respect the peer's restrictions; involuntary NAT rebinding is a distinct case.

[1] [2]

Validate the path, not just the packet number

PATH_CHALLENGE carries data that the peer echoes in PATH_RESPONSE. A matching response demonstrates reachability on the challenged path; an ACK for the challenge's packet is insufficient. Validation is not an absolute ban on sending data first: limited sending to an unvalidated peer address is possible. When responding to packets from an unvalidated address, an endpoint may send at most three times the data received from that address before validation. This anti-amplification limit does not apply to a client starting a connection or initiating migration.

[1] [3]

Reachability is not a performance promise

A phone's new cellular path may have different delay and capacity from its old Wi-Fi path. QUIC normally resets congestion-control and round-trip estimates for a new path rather than assuming the old rate is safe; the specification permits exceptions for cases such as a port-only change. Failed validation does not necessarily end the connection if another usable path remains. Successful validation proves neither unlimited bandwidth nor an uninterrupted application experience.

[1] [3]
THE IDEA TO KEEP

Check connection state, migration rules and path validation separately.

ONE THING TO WATCH OUT FOR

A recognizable connection ID proves that a new path is usable.

Identifying the connection and validating reachability answer different questions.

A QUICK CHECK, NOT A TEST
An endpoint receives an ACK for its PATH_CHALLENGE packet but no matching PATH_RESPONSE. Has that ACK completed path validation?
Show the explanation

No; acknowledging the packet is not the required matching path response. Path validation requires the appropriate PATH_RESPONSE data. An ACK alone does not complete that exchange, and a connection ID does not establish future path reachability.

Progress is saved only in this browser.

KEEP EXPLORINGTCP
Was this explanation clear?
Report a mistake by email
GO STRAIGHT TO THE SOURCE

Keep asking. Check the details.

Source-checked using AI (OpenAI Codex) on . The checks covered sources, examples, and quizzes for this article version.

No human review is claimed. AI review can miss errors; check the original sources below.

  1. RFC 9000 — QUIC: A UDP-Based Multiplexed and Secure Transport
  2. RFC 9001 — Using TLS to Secure QUIC
  3. RFC 9002 — QUIC Loss Detection and Congestion Control
  4. RFC 9114 — HTTP/3
How explanations are prepared