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.
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:
|
pravisankar
left a comment
There was a problem hiding this comment.
/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 DetailsNeeds 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