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

xds: add HTTP connection manager max_stream_duration support #4122

Merged
merged 2 commits into from
Jan 8, 2021

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Dec 18, 2020

No description provided.

@dfawley dfawley added the Type: Feature New features or improvements in behavior label Dec 18, 2020
@dfawley dfawley added this to the 1.35 Release milestone Dec 18, 2020
xds/internal/client/client.go Show resolved Hide resolved
xds/internal/resolver/watch_service.go Show resolved Hide resolved
ldsUpdate := ldsConfig{maxStreamDuration: update.MaxStreamDuration}
if w.lastUpdate.ldsConfig != ldsUpdate {
w.lastUpdate.ldsConfig = ldsUpdate
sendUpdate = true
Copy link
Contributor

Choose a reason for hiding this comment

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

We also shouldn't send the update if this LDS update contains a new RDS name to watch.
Move this if check inside if w.rdsName == update.RouteConfigName?

Copy link
Member Author

Choose a reason for hiding this comment

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

Refactored a bit. PTAL

@menghanl menghanl assigned dfawley and unassigned menghanl Jan 7, 2021
@dfawley dfawley assigned menghanl and unassigned dfawley Jan 7, 2021
@dfawley dfawley merged commit 6a318bb into grpc:master Jan 8, 2021
@dfawley dfawley deleted the HCMMSD branch January 8, 2021 18:14
@dfawley dfawley removed this from the 1.35 Release milestone Jan 13, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants