forked from strongloop/loopback
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix context middleware to preserve domains
When executing a request using a pooled connection, connectors like MongoDB and/or MySQL rebind callbacks to the domain which issued the request, as opposed to the domain which opened the pooled connection. This commit fixes the context middleware to play nicely with that mechanism and preserve domain rebinds.
- Loading branch information
1 parent
d77c5fa
commit ca0208d
Showing
2 changed files
with
91 additions
and
6 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