55using System . Collections . Generic ;
66using System . Diagnostics ;
77using System . Net ;
8- using System . Net . Http ;
98using System . Threading ;
109using System . Threading . Tasks ;
1110using Microsoft . AspNetCore . Connections ;
1211using Microsoft . AspNetCore . Connections . Experimental ;
1312using Microsoft . AspNetCore . Connections . Features ;
1413using Microsoft . AspNetCore . Hosting . Server ;
1514using Microsoft . AspNetCore . Http . Features ;
16- using Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http3 . QPack ;
1715using Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure ;
1816using Microsoft . Extensions . Logging ;
1917
2018namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http3
2119{
2220 internal class Http3Connection : IRequestProcessor , ITimeoutHandler
2321 {
24- public DynamicTable DynamicTable { get ; set ; }
25-
2622 public Http3ControlStream OutboundControlStream { get ; set ; }
27- public Http3ControlStream OutboundEncoderStream { get ; set ; }
28- public Http3ControlStream OutboundDecoderStream { get ; set ; }
2923
3024 private Http3ControlStream _inboundControlStream ;
3125 private Http3ControlStream _inboundEncoderStream ;
@@ -49,7 +43,6 @@ public Http3Connection(Http3ConnectionContext context)
4943 {
5044 _multiplexedContext = context . ConnectionContext ;
5145 _context = context ;
52- DynamicTable = new DynamicTable ( 0 ) ;
5346 _systemClock = context . ServiceContext . SystemClock ;
5447 _timeoutControl = new TimeoutControl ( this ) ;
5548 _context . TimeoutControl ??= _timeoutControl ;
@@ -307,20 +300,6 @@ private async ValueTask CreateControlStream<TContext>(IHttpApplication<TContext>
307300 await stream . SendSettingsFrameAsync ( ) ;
308301 }
309302
310- private async ValueTask CreateEncoderStream < TContext > ( IHttpApplication < TContext > application )
311- {
312- var stream = await CreateNewUnidirectionalStreamAsync ( application ) ;
313- OutboundEncoderStream = stream ;
314- await stream . SendStreamIdAsync ( id : 2 ) ;
315- }
316-
317- private async ValueTask CreateDecoderStream < TContext > ( IHttpApplication < TContext > application )
318- {
319- var stream = await CreateNewUnidirectionalStreamAsync ( application ) ;
320- OutboundDecoderStream = stream ;
321- await stream . SendStreamIdAsync ( id : 3 ) ;
322- }
323-
324303 private async ValueTask < Http3ControlStream > CreateNewUnidirectionalStreamAsync < TContext > ( IHttpApplication < TContext > application )
325304 {
326305 var features = new FeatureCollection ( ) ;
0 commit comments