1
0
Fork 0
mirror of synced 2025-04-11 04:51:02 +00:00

increase limit of response body

This commit is contained in:
Ruslan Efanov 2023-09-01 15:08:41 +03:00
parent b47f23f524
commit 038535ea9a

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()