Skip to content

Commit 45dfcaf

Browse files
committed
Update
1 parent 3904018 commit 45dfcaf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Servers/Kestrel/Transport.Quic/test/WebHostTests.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,17 +191,14 @@ private static async Task CallHttp3AndHttp1EndpointsAsync(int http3Port, int htt
191191
}
192192
}
193193

194-
public static IHostBuilder GetHostBuilder(
195-
Func<MemoryPool<byte>> memoryPoolFactory = null,
196-
long? maxReadBufferSize = null)
194+
public static IHostBuilder GetHostBuilder(long? maxReadBufferSize = null)
197195
{
198196
return new HostBuilder()
199197
.ConfigureWebHost(webHostBuilder =>
200198
{
201199
webHostBuilder
202200
.UseQuic(options =>
203201
{
204-
options.MemoryPoolFactory = memoryPoolFactory ?? options.MemoryPoolFactory;
205202
options.MaxReadBufferSize = maxReadBufferSize;
206203
options.Alpn = QuicTestHelpers.Alpn;
207204
options.IdleTimeout = TimeSpan.FromSeconds(20);

0 commit comments

Comments
 (0)