-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent usage of VaadinRequest in access
VaadinRequest thread local is not available during a VaadinSession.access execution. VaadinRequest is used to access the HTTP session wrapper, that can be obtained through VaadinSession. The most important usage is however getting the update version header, but the lookup can be done outside the access block. This change also removes ClusterSupport registration in CurrentInstance becuase it seems not to be used anywhere and furhtermore the thread local is set only on the thread that calls serviceInit and never cleaned up. Fixes #148
- Loading branch information
1 parent
f5d38fd
commit a9ff736
Showing
2 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters