reset timeout on reconnect.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
b8b1fda04c
commit
45e83fa7c1
|
@ -1616,6 +1616,7 @@ static int aji_reconnect(struct aji_client *client)
|
|||
|
||||
if (client->state)
|
||||
client->state = AJI_DISCONNECTED;
|
||||
client->timeout=20;
|
||||
if (client->p)
|
||||
iks_parser_reset(client->p);
|
||||
if (client->authorized)
|
||||
|
|
Loading…
Reference in New Issue