Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5657,7 +5657,7 @@ <h3>HTTP/2 &middot; both directions streamed</h3>
{
thread.Join();
}</code></pre>
<p class="ex-foot">Both at once, which is the shape a proxy needs: <code>/echo</code> reads a chunk and writes a chunk, so neither the upload nor the download is ever held whole. The two directions are separate parameters - a body reader for the read side, a writer for the write side - because they solve different problems and most servers want exactly one of them. Mirrors <label for="tab-h3csstream" class="ex-jump">h3 &middot; request + response streamed</label>; the difference is HTTP/2's shared connection window, which a handler that stops reading holds down for every other stream on the connection.</p>
<p class="ex-foot">Both at once, which is the shape a proxy needs: <code>/echo</code> reads a chunk and writes a chunk, so neither the upload nor the download is ever held whole. The two directions are separate parameters - a body reader for the read side, a writer for the write side - because they solve different problems and most servers want exactly one of them. Mirrors <label for="tab-h3csstream" class="ex-jump">h3 &middot; request + response streamed</label>. The server keeps its own connection window open, so a handler that stops reading stalls only its own stream's upload.</p>
</div>
<div class="pane pane-h2ng">
<div class="pane-head">
Expand Down
4 changes: 2 additions & 2 deletions scripts/gen-docs-panes.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@
"write side - because they solve different "
"problems and most servers want exactly one of them. Mirrors "
"<label for=\"tab-h3csstream\" class=\"ex-jump\">h3 &middot; request + response "
"streamed</label>; the difference is HTTP/2's shared connection window, which a handler "
"that stops reading holds down for every other stream on the connection."),
"streamed</label>. The server keeps its own connection window open, so a handler that "
"stops reading stalls only its own stream's upload."),
"h2ng": (
"Http2/Nghttp2Buffered", "HTTP/2 &middot; nghttp2", "ioxide + ioxide.nghttp2",
["curl --http2-prior-knowledge http://127.0.0.1:8080/"],
Expand Down
2 changes: 1 addition & 1 deletion tests/Ioxide.Tests.E2E/Protocols/EarlyAnswerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal static class EarlyAnswerTests
// A control's upload, read whole by its handler.
private const long ReadUpload = 8L << 20;

// Measured stops are 64 KiB on h2, the connection window, and 192 KiB on h3; these leave room for a slow box.
// Measured stops are up to 320 KiB on h2, the stream window and what the client had buffered, and 192 KiB on h3; these leave room for a slow box.
private const long H2Stopped = 512L << 10;
private const long H3Stopped = 1L << 20;

Expand Down
Loading