Skip to content
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

internal/dag: 0s HTTPRoute timeout disables the timeout #6375

Merged
merged 2 commits into from Apr 30, 2024

Conversation

skriss
Copy link
Member

@skriss skriss commented Apr 23, 2024

In Gateway API, a timeout specified as 0s (or any
other explicitly zero-valued duration string) should disable the timeout rather than use the default
value.

Closes #6373.

In Gateway API, a timeout specified as 0s (or any
other explicitly zero-valued duration string) should
disable the timeout rather than use the default
value.

Closes projectcontour#6373.

Signed-off-by: Steve Kriss <stephen.kriss@gmail.com>
@skriss skriss added the release-note/small A small change that needs one line of explanation in the release notes. label Apr 23, 2024
@skriss skriss requested a review from a team as a code owner April 23, 2024 14:08
@skriss skriss requested review from tsaarni and sunjayBhatia and removed request for a team April 23, 2024 14:08
Signed-off-by: Steve Kriss <stephen.kriss@gmail.com>
@sunjayBhatia sunjayBhatia requested review from a team, rajatvig and clayton-gonsalves and removed request for a team April 23, 2024 14:10
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.59%. Comparing base (056d880) to head (364fb4b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6375   +/-   ##
=======================================
  Coverage   81.59%   81.59%           
=======================================
  Files         133      133           
  Lines       15861    15865    +4     
=======================================
+ Hits        12941    12945    +4     
  Misses       2624     2624           
  Partials      296      296           
Files Coverage Δ
internal/dag/gatewayapi_processor.go 93.21% <100.00%> (+0.01%) ⬆️

@skriss
Copy link
Member Author

skriss commented Apr 23, 2024

Ran GWAPI conformance test locally with a longer delay on the HTTP request (30s to exceed the default Envoy 15s request timeout) and longer conformance suite timeouts to verify this is working as expected.

@skriss skriss merged commit 425b566 into projectcontour:main Apr 30, 2024
26 checks passed
@skriss skriss deleted the pr-gwapi-disable-timeouts branch April 30, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gateway API: 0s timeout should disable the timeout
2 participants