From b4ae84738697229740af3cd11f4518c5e5b318f9 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 14 Oct 2024 00:30:30 -0500 Subject: [PATCH] http3: export the Capsule-Protocol header value (#4690) --- http3/capsule.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/http3/capsule.go b/http3/capsule.go index 09114a589..132e6c32e 100644 --- a/http3/capsule.go +++ b/http3/capsule.go @@ -6,9 +6,12 @@ import ( "github.com/quic-go/quic-go/quicvarint" ) -// CapsuleType is the type of the capsule. +// CapsuleType is the type of the capsule type CapsuleType uint64 +// CapsuleProtocolHeader is the header value used to advertise support for the capsule protocol +const CapsuleProtocolHeader = "Capsule-Protocol" + type exactReader struct { R io.LimitedReader }