don't send disconnect on every reply.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10074 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a8df4fdfa6
commit
f6925f622d
|
@ -619,7 +619,7 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (listener->sock) {
|
if (listener->sock && listener->hup) {
|
||||||
char content_buf[512] = "";
|
char content_buf[512] = "";
|
||||||
const char message[] = "Disconnected, goodbye!\nSee you at ClueCon http://www.cluecon.com!\n";
|
const char message[] = "Disconnected, goodbye!\nSee you at ClueCon http://www.cluecon.com!\n";
|
||||||
int message_len = strlen(message);
|
int message_len = strlen(message);
|
||||||
|
|
Loading…
Reference in New Issue