1
0
mirror of synced 2024-11-22 04:56:06 +03:00

Merge pull request #96 from RenCurs/increase-response-limit

increase limit of response body
This commit is contained in:
Alex Lushpai 2023-09-01 15:24:49 +03:00 committed by GitHub
commit d8b04774a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ import (
)
const MB = 1 << 20
const LimitResponse = 3 * MB
const LimitResponse = 25 * MB
func buildLimitedRawResponse(resp *http.Response) ([]byte, error) {
defer resp.Body.Close()