Stick closer to established style guides. Up buffer size to match websocket buffer size from original proxy code.
This commit is contained in:
parent
54884459bd
commit
02b31d05a2
|
|
@ -16,7 +16,8 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
|
|||
/// </summary>
|
||||
internal class ConditionalProxyMiddleware
|
||||
{
|
||||
private const int BUFFER_SIZE = 1024;
|
||||
private const int DefaultHttpBufferSize = 4096;
|
||||
|
||||
private readonly HttpClient _httpClient;
|
||||
private readonly RequestDelegate _next;
|
||||
private readonly ConditionalProxyMiddlewareOptions _options;
|
||||
|
|
|
|||
Loading…
Reference in New Issue