You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: golang filter returns with unexpected response code when the payload exceeds its buffer limit size
Description:
In the EncodeData phase, if the response payload exceeds the buffer limit size, the GoLang filter currently responds with a 413 error (Payload Too Large). This can be misleading as it suggests an error related to the client's request, which ideally 4xx errors are associated with downstream issues.
Additional Information:
Tested in v1.29.4, as the code is also present in the latest release, it remains applicable.
Title: golang filter returns with unexpected response code when the payload exceeds its buffer limit size
Description:
In the
EncodeData
phase, if the response payload exceeds the buffer limit size, the GoLang filter currently responds with a 413 error (Payload Too Large). This can be misleading as it suggests an error related to the client's request, which ideally 4xx errors are associated with downstream issues.Additional Information:
Tested in v1.29.4, as the code is also present in the latest release, it remains applicable.
Related codes:
envoy/contrib/golang/filters/http/source/processor_state.cc
Lines 363 to 371 in 3a1e104
Slack discussion: https://envoyproxy.slack.com/archives/C04QNSXC7U0/p1715513921673679?thread_ts=1715440619.442059&cid=C04QNSXC7U0
cc @doujiang24
The text was updated successfully, but these errors were encountered: