Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't clear our CDI current request when suspending
This used to be done in order to prevent subsequent requests running on the same thread as a suspended request from accessing the former's data. With the advent of DuplicatedContext backed storage, there is no longer any chance of mixing data so there is no need to clear it out. Furthermore, by not clearing out current request, code that accesses the request scoped CurrentVertxRequest that is executed while the request is suspended, can now work even if context propagation is not in play.
- Loading branch information