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

Take session and set in a single request always errors #3

Open
jonathanKingston opened this issue May 22, 2019 · 1 comment
Open

Take session and set in a single request always errors #3

jonathanKingston opened this issue May 22, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@jonathanKingston
Copy link
Contributor

I'm not sure if it's something I broke however I don't think it is.

If I have:

let mut session: AppSession = cx.take_session().expect("Handle missing session here with redirection");
session.counter = session.counter + 1;
cx.set_session(session);

The session handling code won't set the session and returns an error, which seems like an bug. I think it's breaking the receiver but I haven't investigated enough.

@tomhoule tomhoule added the bug Something isn't working label May 24, 2019
@tomhoule
Copy link
Owner

Sounds like a bug, we should investigate indeed.

jonathanKingston added a commit to jonathanKingston/tide-cookie-session that referenced this issue May 28, 2019
jonathanKingston added a commit to jonathanKingston/tide-cookie-session that referenced this issue May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants