Skip to content

filter: add ability to resetIdleTimer#17274

Merged
mattklein123 merged 5 commits intoenvoyproxy:mainfrom
junr03:filter-reset-idle-timeout
Jul 10, 2021
Merged

filter: add ability to resetIdleTimer#17274
mattklein123 merged 5 commits intoenvoyproxy:mainfrom
junr03:filter-reset-idle-timeout

Conversation

@junr03
Copy link
Copy Markdown
Member

@junr03 junr03 commented Jul 8, 2021

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

Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03
Copy link
Copy Markdown
Member Author

junr03 commented Jul 8, 2021

cc @goaway

Copy link
Copy Markdown
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
Copy Markdown
Member Author

junr03 commented Jul 8, 2021

sg, writing up!

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03
Copy link
Copy Markdown
Member Author

junr03 commented Jul 8, 2021

@mattklein123 done!

@mattklein123
Copy link
Copy Markdown
Member

Nice. Looks like CI issue though.

/wait

Jose Nino added 2 commits July 9, 2021 10:06
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Copy link
Copy Markdown
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
Copy Markdown
Member Author

junr03 commented Jul 9, 2021

/retest

@repokitteh-read-only
Copy link
Copy Markdown

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

🐱

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

see: more, trace.

@junr03
Copy link
Copy Markdown
Member Author

junr03 commented Jul 10, 2021

/retest

@repokitteh-read-only
Copy link
Copy Markdown

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 <jnino@lyft.com>
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 <jnino@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
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 <jnino@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Signed-off-by: Jose Nino <jnino@lyft.com>
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 <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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 <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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