You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3427022
Browse filesBrowse the repository at this point in the historyBrowse files
| Per-stream backpressure |`streams.rs`defines wait futures; `waiting_streams.rs` tracks and cancels them by stream ID|
29
30
| Adding endpoint-specific behavior |`hooks.rs` -- add method to `DriverHooks`, impl in `client.rs`/`server.rs`|
30
31
| Writing tests |`test_utils.rs` for `DriverTestHelper`, `tests.rs` for examples |
31
32
@@ -35,6 +36,7 @@ Async HTTP/3 driver bridging `quiche::h3::Connection` to Tokio tasks via channel
35
36
-**`process_write_frame` uses `Error::Done` as success** -- non-obvious control flow, don't replicate elsewhere.
36
37
-**`DriverHooks` is sealed** -- `mod hooks` is `pub(crate)`, trait has `#[allow(private_interfaces)]`. Do not expose.
37
38
-**Stream cleanup is distributed** across 4+ functions (`cleanup_stream`, `shutdown_stream`, `process_h3_fin`, `process_h3_data`). Understand all paths before modifying.
39
+
-**Waiting-stream cancellation must be keyed** -- cancelling waiting streams must not linearly walk all pending futures for performance reasons.
38
40
-**`STREAM_CAPACITY`** is 1 in test/debug, 16 in release. Tests exercise backpressure differently from prod.
0 commit comments