HotFix5 Gatway
HotFix5 Gatway

Hotfix4 replaced a deadlock in the gateway on failed
authentification attempt by a race which makes
the gateway unstable and difficult to predict.

This is the same fix but without the race,
which should make the gateway stable for failed
attempts to connect.

Change-Id: Ic5c0b0413aae2484479929b323ca1498eb34f8ef
Reviewed-on: http://gerrit.aldebaran.lan/72724
Reviewed-by: jlamotte <70353e7b0c7d18b7fc75605daf0ccba69fcd3222@aldebaran.com>
Reviewed-by: hcuche <2a0975cc082cedff4d4350e3f6ec187146151bc6@aldebaran.com>
Reviewed-by: jmonnon <8898eaf233516e520f996a244ca8a12d20f948b1@aldebaran.com>
Tested-by: jlamotte <70353e7b0c7d18b7fc75605daf0ccba69fcd3222@aldebaran.com>

aldebaran/libqi,aldebaran/libqi,aldebaran/libqi