mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
set MaxResponseContentBufferSize to 5 MB (#1702)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user