mirror of
https://github.com/bitwarden/server.git
synced 2025-01-10 20:07:56 +01:00
set MaxResponseContentBufferSize to 5 MB (#1702)
This commit is contained in:
parent
2f0638ce8c
commit
f26a235964
@ -53,6 +53,7 @@ namespace Bit.Icons.Services
|
||||
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate,
|
||||
});
|
||||
_httpClient.Timeout = TimeSpan.FromSeconds(20);
|
||||
_httpClient.MaxResponseContentBufferSize = 5000000; // 5 MB
|
||||
}
|
||||
|
||||
public async Task<IconResult> GetIconAsync(string domain)
|
||||
|
Loading…
Reference in New Issue
Block a user