Skip to content

fix: return err if direct response size exceeds limit #5710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 11, 2025

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented Apr 10, 2025

No description provided.

@arkodg arkodg requested a review from a team as a code owner April 10, 2025 20:59
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 6 lines in your changes missing coverage. Please review.

Project coverage is 65.31%. Comparing base (9ba73b7) to head (876e5f2).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
internal/gatewayapi/backendtrafficpolicy.go 66.66% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5710      +/-   ##
==========================================
+ Coverage   65.28%   65.31%   +0.02%     
==========================================
  Files         213      213              
  Lines       34111    34121      +10     
==========================================
+ Hits        22270    22285      +15     
+ Misses      10500    10499       -1     
+ Partials     1341     1337       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Arko Dasgupta <[email protected]>
zirain
zirain previously approved these changes Apr 11, 2025
zhaohuabing
zhaohuabing previously approved these changes Apr 11, 2025
Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg dismissed stale reviews from zhaohuabing and zirain via 876e5f2 April 11, 2025 13:36
@arkodg arkodg requested a review from zirain April 11, 2025 13:39
@arkodg arkodg merged commit 3ebf245 into envoyproxy:main Apr 11, 2025
24 of 25 checks passed
daixiang0 pushed a commit to daixiang0/gateway that referenced this pull request Apr 21, 2025
* fix: return err if direct response size exceeds limit

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

* add another check

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
guydc pushed a commit to guydc/gateway that referenced this pull request May 8, 2025
* fix: return err if direct response size exceeds limit

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

* add another check

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 3ebf245)
Signed-off-by: Guy Daich <[email protected]>
guydc added a commit that referenced this pull request May 8, 2025
* fix: return err if direct response size exceeds limit (#5710)

* fix: return err if direct response size exceeds limit

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

* add another check

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 3ebf245)
Signed-off-by: Guy Daich <[email protected]>

* fix:  httproute precedence by considering header/query match type (#5740)

*  fix precedence to use number of exact matches

Signed-off-by: kkk777-7 <[email protected]>
(cherry picked from commit b295b09)
Signed-off-by: Guy Daich <[email protected]>

* fix: SecurityPolicy reference grant (#5792)

* fix: SecurityPolicy reference grant

Signed-off-by: kkk777-7 <[email protected]>

* add: release note

Signed-off-by: kkk777-7 <[email protected]>

* update: func name

Signed-off-by: kkk777-7 <[email protected]>

* revert func name

Signed-off-by: kkk777-7 <[email protected]>

* update: use processBackendRef to handle route backends

Signed-off-by: kkk777-7 <[email protected]>

* fix: use not pointer type for extAuth backendRef

Signed-off-by: kkk777-7 <[email protected]>

* Add: testcase for ExtAuth

Signed-off-by: kkk777-7 <[email protected]>

* fix: add jwt backendref to backendSecurityPolicyIndexFunc

Signed-off-by: kkk777-7 <[email protected]>

---------

Signed-off-by: kkk777-7 <[email protected]>
(cherry picked from commit ef50718)
Signed-off-by: Guy Daich <[email protected]>

* fix: add validation for header values (#5933)

Signed-off-by: Gavin Lam <[email protected]>
(cherry picked from commit 5e7df65)
Signed-off-by: Guy Daich <[email protected]>

* fix: Fixed typo in error message. (#5945)

Signed-off-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
(cherry picked from commit 2bbbdf8)
Signed-off-by: Guy Daich <[email protected]>

* fix gen

Signed-off-by: Guy Daich <[email protected]>

* merge fixes

Signed-off-by: Guy Daich <[email protected]>

* fix: process remaining gatewayClasses after encountering an err (#5953)

fix: process all gatewayClasses after encountering an err

* instead of returning from Reconcile after encountering an err
which processing a `GatewayClass`, `continue` instead
to process all GatewayClasses

Fixes: #5618

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit 64845fe)
Signed-off-by: Guy Daich <[email protected]>

* fix: do not add tls inspector filter to quic listener (#5671)

* fix: enable http3 but panic

Signed-off-by: bitliu <[email protected]>
(cherry picked from commit 46e053b)
Signed-off-by: Guy Daich <[email protected]>

* notes

Signed-off-by: Guy Daich <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Guy Daich <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: Gavin Lam <[email protected]>
Signed-off-by: Mathias Westby Skoglund <[email protected]>
Signed-off-by: bitliu <[email protected]>
Co-authored-by: Arko Dasgupta <[email protected]>
Co-authored-by: Kota Kimura <[email protected]>
Co-authored-by: Gavin Lam <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Mathias Westby Skoglund <[email protected]>
Co-authored-by: Xunzhuo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants