Skip to content

Commit 1c9ec42

Browse files
committed
Cleanup dynamic table
1 parent f4a73c9 commit 1c9ec42

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/Servers/Kestrel/Core/src/Internal/Http3/Http3Connection.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,21 @@
55
using System.Collections.Generic;
66
using System.Diagnostics;
77
using System.Net;
8-
using System.Net.Http;
98
using System.Threading;
109
using System.Threading.Tasks;
1110
using Microsoft.AspNetCore.Connections;
1211
using Microsoft.AspNetCore.Connections.Experimental;
1312
using Microsoft.AspNetCore.Connections.Features;
1413
using Microsoft.AspNetCore.Hosting.Server;
1514
using Microsoft.AspNetCore.Http.Features;
16-
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.QPack;
1715
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
1816
using Microsoft.Extensions.Logging;
1917

2018
namespace 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

Comments
 (0)