mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
vomp calls should work again, and without the server blocking
on the mdp_client_socket.
This commit is contained in:
parent
c3350bb493
commit
79ce37ec35
@ -1162,10 +1162,6 @@ int overlay_mdp_client_socket_path_len=-1;
|
||||
|
||||
int overlay_mdp_client_init()
|
||||
{
|
||||
if (mdp_named_socket!=-1) {
|
||||
WHY("WARNING: server asked to open client socket!");
|
||||
sleep(10);
|
||||
}
|
||||
if (mdp_client_socket==-1) {
|
||||
/* Open socket to MDP server (thus connection is always local) */
|
||||
if (0) WHY("Use of abstract name space socket for Linux not implemented");
|
||||
|
7
vomp.c
7
vomp.c
@ -272,7 +272,12 @@ int vomp_send_status(vomp_call_state *call,int flags,overlay_mdp_frame *arg)
|
||||
call->recent_sample_rotor%=VOMP_MAX_RECENT_SAMPLES;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* XXX Here we act as our own client. This used to be able to block.
|
||||
We should really refactor overlay_mdp_poll() so that we can deliver
|
||||
the frame directly.
|
||||
Make sure that we don't want (just drop the message if there is
|
||||
congestion) */
|
||||
overlay_mdp_send(&mdp,0,0);
|
||||
|
||||
call->local.sequence++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user