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

make the cookie name unique to the backend being served #1716

Merged
merged 1 commit into from
Jun 7, 2017

Conversation

richardjq
Copy link

Description

Set cookie name so that it is unique to the backend.

Addresses issue #1574.

See PR #1712 for additional discussion.

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

Thanks 👍 👍 👍

LGTM

Fixes #1574

@ldez ldez added this to the 1.4 milestone Jun 7, 2017
Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

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

Thanks @richardjq !
LGTM

@ldez ldez merged commit a71d69c into traefik:master Jun 7, 2017
@richardjq richardjq deleted the backend-cookie-name branch June 8, 2017 12:22
@indrekj
Copy link

indrekj commented Jun 9, 2017

This makes upgrading traefik version harder because it looks not to be backwards compatible. Imagine an ongoing sticky websocket connection. On upgrade it will reconnect but does not have this cookie any more (name changed). So the reconnected user may end up on a different server. Also gradual rollout where you have some of the instances running old version and some new may cause some issues.

This is not a problem for my case as we're also using custom header stickyness https://github.com/salemove/traefik/commit/9f8adf2b30baec6eebb58fad862dc7760c1de17c but may be a problem for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sticky-session kind/enhancement a new or improved feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants