-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix router bug where cookie is not set correctly when dynamic changes are enabled #20557
Fix router bug where cookie is not set correctly when dynamic changes are enabled #20557
Conversation
are enabled. fixes bugz #1610712
@pravisankar PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good but for the caveat, do you think that will be an issue when client caches cookie derived from blueprint route(pre-reload)?
Is this feasible?
disable dynamic-cookie backend <blueprint-route>
set dynamic-cookie-key backend <route-backend> ...
enable dynamic-cookie backend <route-backend>
@pravisankar so the problem is the cookie name is tied to the backend and we can't change it dynamically(and there's the Now when the router reloads, a new
As re: the changes suggested - disabling the dynamic cookies on the blueprint route So my 2c here were:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks Ram for the detailed explanation!
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ironcladlou, pravisankar, ramr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
3 similar comments
/retest |
/retest |
/retest |
fixes bugz #1610712 - lil' bit of caveat here mentioned in the bugz.
/cc @openshift/sig-network-edge