Always restart cluster streams with InError flag set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4122 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
a8c6c7d2b6
commit
4e4ae64f6f
|
@ -823,7 +823,8 @@ bool JBStream::canProcess(u_int64_t time)
|
|||
// Re-connect
|
||||
// Don't connect non client if we are in error and have nothing to send
|
||||
if (m_restart) {
|
||||
if (m_type != c2s && flag(InError) && !m_pending.skipNull())
|
||||
if (m_type != c2s && m_type != cluster &&
|
||||
flag(InError) && !m_pending.skipNull())
|
||||
return false;
|
||||
resetFlags(InError);
|
||||
changeState(Connecting);
|
||||
|
|
Loading…
Reference in New Issue