mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
fix adapter proxy bug
This commit is contained in:
parent
8b3524243a
commit
4a60c1b9bd
@ -399,7 +399,7 @@ bool AdapterProxy::checkActive(bool bForceConnect, bool onlyCheck)
|
||||
if(bForceConnect)
|
||||
{
|
||||
//强制重试 肯定是无效结点
|
||||
assert(!_activeStatus);
|
||||
// assert(!_activeStatus);
|
||||
|
||||
//有效的连接
|
||||
if(_trans->isConnecting() || _trans->hasConnected())
|
||||
|
@ -73,7 +73,8 @@ public:
|
||||
* @onlyCheck: 只判断是否已经连接上
|
||||
* @return bool
|
||||
*/
|
||||
bool checkActive(bool bForceConnect = false, bool onlyCheck = false);
|
||||
// bool checkActive(bool bForceConnect = false, bool onlyCheck = false);
|
||||
bool checkActive(bool bForceConnect, bool onlyCheck);
|
||||
|
||||
/**
|
||||
* 记录连接是否异常
|
||||
|
Loading…
Reference in New Issue
Block a user