-
Notifications
You must be signed in to change notification settings - Fork 22.9k
improve HOL blocking and related protocol glossary entries #41525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Preview URLs
(comment last updated: 2025-10-20 00:47:24) |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hoarfroster <[email protected]>
In HTTP/1.1, requests on a single {{glossary("TCP")}} connection are usually sent sequentially — a new request can't be made on the connection while waiting for a response to the previous request. | ||
This can lead to HOL blocking problems even if there are several TCP connections between the client and server. | ||
|
||
A mechanism called _HTTP pipelining_ tried to work around this, where multiple requests were sent off by a client without waiting for any responses. | ||
Pipelining proved tricky to implement in reality, so this mechanism is rarely used, if ever, and most browsers no longer support it. | ||
HTTP/1.1 defines an optional feature called _HTTP pipelining_ that unsuccessfully attempted to work around HOL blocking, by allowing requests to be sent without waiting for earlier responses. | ||
Unfortunately the design of HTTP/1.1 means that responses must be returned in the same order as the requests were received, so HOL blocking can still occur if a request takes a long time to complete. | ||
Network conditions such as congestion, packet loss (and the resulting TCP retransmissions), or {{glossary("TCP slow start")}} can also delay transmission and cause later responses to be blocked by earlier ones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PassionPenguin I think this works as an English fix. Are you happy with it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure that's good! thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much!
Motivations
Details