mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
multiplexed_socket: add ping/pong logic
Detecting that a socket is down via a keep alive can take time, moreover if a relay is used, because the keep alive can continue to work even if the connection is half closed. In this patch, we add a mechanism where a beacon is sent over the multiplexed socket to know if the peer can answer. This message can be used to detect if a socket is usable and is sent whenever the user starts a call or that a connectivityChanged() occurs. Moreover, the multiplexedsocket can now sends a version to enable features and if a bad packet on the control socket comes, the socket is not stopped. GitLab: #542 Change-Id: Ia66d8d7f9b66bba02927f4ea41c21ef27089bceb
This commit is contained in:

committed by
Adrien Béraud

parent
c9e467cc94
commit
ffa12c740b
@ -2,7 +2,7 @@ dnl Jami - configure.ac
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_PREREQ([2.69])
|
||||
AC_INIT([Jami Daemon],[10.0.0],[jami@gnu.org],[jami])
|
||||
AC_INIT([Jami Daemon],[10.0.1],[jami@gnu.org],[jami])
|
||||
|
||||
dnl Clear the implicit flags that default to '-g -O2', otherwise they
|
||||
dnl take precedence over the values we set via the
|
||||
|
Reference in New Issue
Block a user