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
Session should be fully stored before response is returned #93
Comments
Hammer option
|
Maybe it could be implemented with the BlockingHandlerDecorator from this commit 4ffa350 |
Now fixed by making headers end handlers take a future (required change in core too) |
@purplefox is there a chance that storing objects in sessions (clustered w/hazelcast) could have this same issue? we are currently debugging a case where something stored into a session (future URL to redirect towards), is not in the session on the next page which comes quickly. Debugging it is always there (we slow things down when debugging), but randomly fails to be there at other times. Or is it our imagination? |
In SessionHandlerImpl, the session is stored in the headers end handler, but the store is async, so may not happen until after the next request for that session hits the server.
This could mean the session is not found.
We need to somehow store the session and not send the response back to the client until the session is fully stored.
The text was updated successfully, but these errors were encountered: