lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

huge size response via ngx.location.capture has been truncated

Open tweyseo opened this issue 1 year ago • 1 comments

the size of this response is more than 80k, ngx.location.capture return with status 200 and truncate false, but in fact it has been truncated, which i can get full response from upstream via directly curl. i use json_decode(from cjosn) decode the response above, but it throw exceptions like " Expected comma or object end but found T_END at character 88993" or "Expected object key string but found unexpected end of string at character 91105", so I suspect it has been truncated.

tweyseo avatar Mar 22 '24 11:03 tweyseo