Closed yunduansing closed 1 year ago
It seems to be the same problem as #114 , when the request or response data is too large, we need to read in a loop.
It seems to be the same problem as #114 , when the request or response data is too large, we need to read in a loop.
Yes, that's the problem. loop reading body can solve it
Description
pkgHTTP.Response.ReadBody() error: util/msg.go:56 read: truncated, only get the first 219260 bytes,but server.go receive rpc type: 101 data length: 6253172
where can I find the read max bytes config and update it?
my go code: ` cfg := conf.(ResponseRewriteConf) if cfg.Status > 0 { w.WriteHeader(cfg.Status) } else { w.WriteHeader(200) }
Environment
apisix version
):3.0.0uname -a
):alpineopenresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):