mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Merged revisions 114198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114198 | phsultan | 2008-04-17 15:42:23 +0200 (Thu, 17 Apr 2008) | 2 lines Use keepalives effectively in order diagnose bug #12432. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1889,7 +1889,7 @@ static void *aji_recv_loop(void *data)
|
|||||||
else if (res == IKS_NET_TLSFAIL)
|
else if (res == IKS_NET_TLSFAIL)
|
||||||
ast_log(LOG_WARNING, "JABBER: Failure in TLS.\n");
|
ast_log(LOG_WARNING, "JABBER: Failure in TLS.\n");
|
||||||
else if (client->timeout == 0 && client->state == AJI_CONNECTED) {
|
else if (client->timeout == 0 && client->state == AJI_CONNECTED) {
|
||||||
res = aji_send_raw(client, " ");
|
res = client->keepalive ? aji_send_raw(client, " ") : IKS_OK;
|
||||||
if(res == IKS_OK)
|
if(res == IKS_OK)
|
||||||
client->timeout = 50;
|
client->timeout = 50;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user