[0.1.2] - 2026-06-10
Added
oxiquic-core
alpnmodule: well-known ALPN protocol byte-string constants (H3 = b"h3",HTTP_0_9 = b"hq-interop") and thealpn::protocols(&[&[u8]]) -> Vec<Vec<u8>>builder helper for constructing owned ALPN lists from byte-string slices. Re-exported from theoxiquicfacade asoxiquic::alpn::{H3, HTTP_0_9, protocols}.
oxiquic-transport
ServerEndpointBuilder::with_alpn_protocols(&[&[u8]]) -> Selfbuilder method: replacesalpn_protocolson the underlyingrustls::ServerConfig, enabling ALPN negotiation on raw QUIC server endpoints without rebuilding the TLS config.
oxiquic (facade)
connect_with_alpn(addr, server_name, protocols)convenience function: likeconnect()but setsalpn_protocolson the client TLS config before performing the handshake.listen_with_alpn(addr, cert_chain, private_key, protocols)convenience function: likelisten()but injects customalpn_protocolsinto the server TLS config before binding the endpoint.alpnre-export module exposed at the crate root.
Testing
- 3 new integration tests in
oxiquic-transport/tests/alpn.rs:custom_alpn_roundtrip,alpn_not_set_does_not_panic,server_endpoint_builder_with_alpn_protocols - Total tests: 329 (unit + integration), all passing
Fixed
oxiquic-h3h3_response_status_codestest: server task now callsh3_server.shutdown(0)after sending the response, so the driver task exits cleanly
Full Changelog: v0.1.1...v0.1.2