mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 12:07:26 +08:00
ai-cache update body buffer limit size (#1644)
This commit is contained in:
@@ -261,6 +261,7 @@ func checkStream(ctx *wrapper.HttpContext, log wrapper.Log) {
|
||||
log.Errorf("unable to load content-type header from response: %v", err)
|
||||
}
|
||||
(*ctx).BufferResponseBody()
|
||||
ctx.SetResponseBodyBufferLimit(defaultMaxBodyBytes)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user