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

filter: add ability to resetIdleTimer #17274

Merged
merged 5 commits into from
Jul 10, 2021
Merged

filter: add ability to resetIdleTimer #17274

merged 5 commits into from
Jul 10, 2021

Conversation

junr03
Copy link
Member

@junr03 junr03 commented Jul 8, 2021

Commit Message: allow filters to reset the stream idle timer.
Risk Level: low
Testing: UT and integration.

@junr03
Copy link
Member Author

junr03 commented Jul 8, 2021

cc @goaway

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this LGTM. Can you try to quickly add an integration test? Using simulated time it should be pretty easy to prove that this works with a very small integration test filter. (Basically advance time before decodeData to just before the timeout, reset the idle timer in decode data, and then advance time past the timeout, and make sure the stream is not reset, then advance beyond the timeout and make sure it is reset.)

/wait

@junr03
Copy link
Member Author

junr03 commented Jul 8, 2021

sg, writing up!

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
@junr03
Copy link
Member Author

junr03 commented Jul 8, 2021

@mattklein123 done!

@mattklein123
Copy link
Member

Nice. Looks like CI issue though.

/wait

Jose Nino added 2 commits July 9, 2021 10:06
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@junr03
Copy link
Member Author

junr03 commented Jul 9, 2021

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17274 (comment) was created by @junr03.

see: more, trace.

@junr03
Copy link
Member Author

junr03 commented Jul 10, 2021

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17274 (comment) was created by @junr03.

see: more, trace.

@mattklein123 mattklein123 merged commit b11c25f into envoyproxy:main Jul 10, 2021
goaway pushed a commit to envoyproxy/envoy-mobile that referenced this pull request Jul 12, 2021
Description: Includes three relevant commits:
envoyproxy/envoy#17226
envoyproxy/envoy#17274
envoyproxy/envoy#17207

Signed-off-by: Jose Nino <[email protected]>
Augustyniak pushed a commit to envoyproxy/envoy-mobile that referenced this pull request Jul 15, 2021
Description: Includes three relevant commits:
envoyproxy/envoy#17226
envoyproxy/envoy#17274
envoyproxy/envoy#17207

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Augustyniak pushed a commit to envoyproxy/envoy-mobile that referenced this pull request Jul 16, 2021
Description: Includes three relevant commits:
envoyproxy/envoy#17226
envoyproxy/envoy#17274
envoyproxy/envoy#17207

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: Includes three relevant commits:
#17226
#17274
#17207

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: JP Simard <[email protected]>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description: Includes three relevant commits:
#17226
#17274
#17207

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: JP Simard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants