> For the complete documentation index, see [llms.txt](https://http3-explained.haxx.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://http3-explained.haxx.se/zh-tw/the-protocol/feature-inorder.md).

# 有序交付

QUIC 保證串流的有序交付，但不能保證各個串流之間的有序交付。 這代表每個串流將發送數據並保持數據順序（ 串流中的數據將有序抵達 ），但是每個串流之間可能以不同的順序到達目的地！

舉個例子： 串流 A 和串流 B 從伺服器端傳輸到客戶端。串流 A 先出發，然後是串流 B。在 QUIC 中，遺失的封包僅影響該遺失的封包所屬的串流。所以當串流 A 遺失了封包但串流 B 沒有的情況下，串流 B 會持續傳輸並且完成，而串流 A 的遺失封包將重新傳輸。這種狀況不會發生在 HTTP/2。

此處通過一個連接在兩個 QUIC 端點之間發送了一個黃色和一個藍色的串流進行說明。 它們是獨立的，並且可能以不同的順序到達，但是每個串流中的封包都按順序可靠地傳遞給應用程序。

![兩個端點之間的兩個QUIC串流](/files/-LvW35oOH4Xtr4ClEuBt)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://http3-explained.haxx.se/zh-tw/the-protocol/feature-inorder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
