Skip to content

OxiQUIC 0.1.2 Release

Latest

Choose a tag to compare

@cool-japan cool-japan released this 11 Jun 00:15

[0.1.2] - 2026-06-10

Added

oxiquic-core

  • alpn module: well-known ALPN protocol byte-string constants (H3 = b"h3", HTTP_0_9 = b"hq-interop") and the alpn::protocols(&[&[u8]]) -> Vec<Vec<u8>> builder helper for constructing owned ALPN lists from byte-string slices. Re-exported from the oxiquic facade as oxiquic::alpn::{H3, HTTP_0_9, protocols}.

oxiquic-transport

  • ServerEndpointBuilder::with_alpn_protocols(&[&[u8]]) -> Self builder method: replaces alpn_protocols on the underlying rustls::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: like connect() but sets alpn_protocols on the client TLS config before performing the handshake.
  • listen_with_alpn(addr, cert_chain, private_key, protocols) convenience function: like listen() but injects custom alpn_protocols into the server TLS config before binding the endpoint.
  • alpn re-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-h3 h3_response_status_codes test: server task now calls h3_server.shutdown(0) after sending the response, so the driver task exits cleanly

Full Changelog: v0.1.1...v0.1.2