Skip to content

Commit b0e95f9

Browse files
committed
chore(h3): add TODO for EarlyData 0-RTT transport wiring
1 parent 2e8a1be commit b0e95f9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/TurboHTTP/Protocol/Http3/Http3Frame.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ internal sealed class Http3HeadersFrame : Http3Frame, IDisposable
129129
/// The transport layer uses this flag to decide whether to send the request
130130
/// before the TLS handshake completes. RFC 9114 §A.1.
131131
/// </summary>
132+
// TODO: Not yet wired to transport layer — requires QUIC 0-RTT stream coordination
132133
public bool EarlyData { get; set; }
133134

134135
public Http3HeadersFrame(ReadOnlyMemory<byte> headerBlock)

src/TurboHTTP/Protocol/Http3/StateMachine.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ private IReadOnlyList<Http3Frame> EncodeToFrames(HttpRequestMessage request)
527527
OriginValidator.Validate(request.RequestUri!, request.Method == HttpMethod.Connect);
528528
var frames = _requestEncoder.Encode(request);
529529

530+
// TODO: EarlyData flag is set but not yet consumed by transport layer
530531
if (_options.Http3.AllowEarlyData && IdempotentMethods.Contains(request.Method))
531532
{
532533
foreach (var f in frames)

0 commit comments

Comments
 (0)