Repository navigation
release: 0.28.652 - #652
Merged
Merged
Conversation
All twelve csproj Version elements, 0.27.637 to 0.28.652. Carries the 7 PRs from #645 to #651. Package validation against 0.27.637, in strict mode, finds no API change in any of the eleven published packages. Suites on this tree: Unit 397, E2E 799 (1 kTLS skip), Http 113, Chaos 105, File 14, Tls 217 (41 kTLS skips, no tls module here), Pg 10 (19 skipped, no server here), Redis 1 (7 skipped and 1 pending, no server here).
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.
All eleven published packages share one version, as always.
Versionelements;IoxideRuntime.Versionis generated fromioxide.csproj.ioxide.redis.stackexchangeis bumped too, so a manual pack matches, but CI does not pack it.Against 0.27.637, this carries the 7 PRs from #645 to #651: HTTP/2's frame, stream-state and request checks brought to RFC 9113, and two fixes to how a QUIC handshake is refused.
Fixes
teother thantrailersor a missing pseudo-header is reset before dispatch (RFC 9113 8.1.1), and so are malformed trailers of a streamed request.quic_transport_parametersis refused withmissing_extension(RFC 9001 8.2), where ngtcp2's assertion aborted the process: one such hello took an HTTP/3 server down.API
Package validation against 0.27.637, in strict mode so additions count too, finds no change in any of the eleven packages. It reports only CP0003, strict mode's rule that the assembly version stays the same. As a control,
ioxideagainst 0.26.563 reports 0.27.637's four removals.Behaviour changes (no compile error)
HTTP/2 requests (http2: requests with uppercase field names, connection-specific fields, a te other than trailers or missing pseudo-headers are reset before dispatch, and so are malformed trailers of a streamed request (#642) #649): a request with any of these gets RST_STREAM(PROTOCOL_ERROR) and reaches no handler, buffered or streamed. Only the pseudo-headers' order and the
content-lengthwere checked, so these were served.connection,keep-alive,proxy-connection,transfer-encodingorupgrade, or ateother thantrailers(8.2.2);:method, no:scheme, or a missing or empty:path(8.3.1); for a CONNECT, no:authority, or a:schemeor:path(8.5).A client or proxy that carries HTTP/1.1 fields such as
Connection: keep-aliveover to HTTP/2 now has its requests reset.HTTP/2 trailers (http2: requests with uppercase field names, connection-specific fields, a te other than trailers or missing pseudo-headers are reset before dispatch, and so are malformed trailers of a streamed request (#642) #649): on a streamed request, trailers that carry a pseudo-header or break the field rules above, or that do not end the stream, reset it, and the body read fails with an
IOExceptionthat names the reason. Such trailers were ignored, and trailers without END_STREAM left the body without an end.HTTP/2 streams that are not open (http2: frames on idle, half-closed (remote) and closed streams are refused as RFC 9113 5.1 says, so DATA after END_STREAM no longer reaches a body reader (#640) #648):
HTTP/2 control frames (http2: malformed PRIORITY, PUSH_PROMISE, RST_STREAM, SETTINGS and PING frames are refused with the error RFC 9113 names, and a GOAWAY carries the last stream (#641) #647):
HPACK and QPACK (http2, http3: a size update after a field, and Huffman padding that is not all ones, are decoding errors (#643) #645): a size update after a field, or Huffman padding that is not all ones, ends an HTTP/2 connection with GOAWAY(COMPRESSION_ERROR), where the request was served; http3's QPACK decoder refuses the same Huffman strings.
QUIC (ngtcp2: a ClientHello without quic_transport_parameters is refused with missing_extension instead of aborting the process (#639) #646, ngtcp2: a handshake the TLS stack refuses closes with its alert as CRYPTO_ERROR, not PROTOCOL_VIOLATION (#638) #650): a refused handshake closes with CRYPTO_ERROR (0x100 + the alert), where it closed with PROTOCOL_VIOLATION (0xa):
missing_extension(0x16d) for a ClientHello without transport parameters, which aborted the process before, andno_application_protocol(0x178) for one whose ALPN the server does not take.For GenHTTP
Its open pull request 953 (head da8db966) moves its API, engine and files modules to 0.27.637. What 0.28.652 changes for it:
Http2Driverserves through http2, so the request and trailer checks above apply before GenHTTP sees a request. A streamed body cut by malformed trailers fails with anIOException, as one cut by a client's reset does. Nothing to change.missing_extensioncases did that to HttpArena's genhttp-ioxide, and every case after them failed against a dead server. Nothing to change.Native
libioxide_ngtcp2.sochanged (#646, #650) and was rebuilt for x64 and arm64 from the merged shim. The committed libraries were reproduced byte for byte from it (x64 sha256 d9cb1158, arm64 b3c4c110; provenance on #650), and the local pack carries both. The shim's ABI stays 8.libioxide_nghttp2.so,libioxide_nghttp3.soandlibioxide_boringssl.soare unchanged.Testing
tlsmodule isn't loaded here.