Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop new xmpp connection for existing connection with same name
If the IP address is different, then it implies mis-configuration of the xmpp agents. In such cases, drop new connection request and retain existing connection intact Since xmpp tasks run concurrently (across different IP addresses), use a XmppConnectionManager scoped mutex to solve concurrency issues among such parallel xmpp connection requests processing Also increase severity of a couple of related log messages Re-enable and fix few UTs that test this very exact scenario Closes-Bug: #1687096 Change-Id: Ic7252060abfc4b34fa184ff163afc217a88bb40c
- Loading branch information
1 parent
8610a42
commit 77fa8e6
Showing
3 changed files
with
77 additions
and
22 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
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