Browse Source
Merge pull request #25253 from abpframework/fix/increase-response-stream-buffer-size
Increase `AbpMemoryPoolHttpResponseStreamWriterFactory` buffer size to 256KB
pull/25258/head
Engincan VESKE
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Infrastructure/AbpMemoryPoolHttpResponseStreamWriterFactory.cs
|
|
@ -12,7 +12,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Infrastructure; |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public class AbpMemoryPoolHttpResponseStreamWriterFactory : IHttpResponseStreamWriterFactory |
|
|
public class AbpMemoryPoolHttpResponseStreamWriterFactory : IHttpResponseStreamWriterFactory |
|
|
{ |
|
|
{ |
|
|
public const int DefaultBufferSize = 32 * 1024; |
|
|
public const int DefaultBufferSize = 256 * 1024; |
|
|
|
|
|
|
|
|
private readonly ArrayPool<byte> _bytePool; |
|
|
private readonly ArrayPool<byte> _bytePool; |
|
|
private readonly ArrayPool<char> _charPool; |
|
|
private readonly ArrayPool<char> _charPool; |
|
|
|