diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-11-15 16:16:07 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-11-15 16:16:07 +0100 |
commit | ab56227709e999fe2d585d861a01185a192d7fff (patch) | |
tree | c1d509259fb52d804a6aa4c8b00de63e281c1532 /contrib | |
parent | 30139bac6ddf798cb7529b022112e5b009af2dd9 (diff) | |
download | ODR-AudioEnc-ab56227709e999fe2d585d861a01185a192d7fff.tar.gz ODR-AudioEnc-ab56227709e999fe2d585d861a01185a192d7fff.tar.bz2 ODR-AudioEnc-ab56227709e999fe2d585d861a01185a192d7fff.zip |
Common ba7f317
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Socket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/Socket.cpp b/contrib/Socket.cpp index c876f32..7ff6b5e 100644 --- a/contrib/Socket.cpp +++ b/contrib/Socket.cpp @@ -936,10 +936,12 @@ void TCPReceiveServer::process() sock.close(); // TODO replace fprintf fprintf(stderr, "TCP Receiver restarted after error: %s\n", e.what()); + m_queue.push(make_shared<TCPReceiveMessageDisconnected>()); } if (num_timeouts > max_num_timeouts) { sock.close(); + m_queue.push(make_shared<TCPReceiveMessageDisconnected>()); } } } |