Fix GRO redundancy at iq.ngtcp2 - #120
Merged
Merged
Conversation
…cookies ioxide.nghttp3 (renamed from ioxide.h3; ngtcp2 likewise from quic): - streaming request bodies: RunStreamingAsync dispatches at end-of-headers and pulls the body through Nghttp3Request.BodyReader while the request stream is flow-control paced, so memory is bounded by one window instead of the body - handler matrix made explicit: RunBufferedAsync (sync and async handlers) and RunStreamingAsync replace the overloaded RunAsync pair - graceful shutdown: Nghttp3Connection.Shutdown() sends GOAWAY, finishes in-flight requests, then closes the connection with H3_NO_ERROR; new QuicConnection.Close(appErrorCode) backs it at the transport level - QPACK dynamic table is now a knob (Nghttp3Options); +30% on cookie-heavy traffic, default stays 0 (nghttp3's own default) - headers are a KeyValueList of ReadOnlyMemory<byte> pairs, cookies parse lazily off the cookie field lines (h3 may split one header across several) - per-connection request pooling (object, arena, header list, body buffer) and a shared pre-ended body reader for bodyless requests - trailer fix: a trailing HEADERS block no longer replaces the assembled request ioxide.http3: new package, pure C# HTTP/3 (frames, QPACK static table, Huffman), zero native dependencies, cross-validated against the nghttp3 client. Both satellite packages reorganized into Connection/Http/Interop/native folders; QUIC recv surface renamed (Delivery/TryGetDelivery/ReturnBuffer). Playground: h3, h3-buffered and http3 modes, SIGTERM drain, routes demonstrating static zero-allocation responses (1.98M req/s vs 1.65M for per-request encoding), header walking and cookies. e2e 43/0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.