summaryrefslogtreecommitdiffstats
path: root/src/OutputUHDFeedback.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-30 14:27:32 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-30 14:27:59 +0200
commit403c5ff5f425a11a71fecd85fef2611cef6d2cfe (patch)
tree7c4d097515ebedeacacd815236a2eba69fed4090 /src/OutputUHDFeedback.cpp
parent3dd2ccd44d5ad4e9bed1f460a63d8756695e9a57 (diff)
downloaddabmod-403c5ff5f425a11a71fecd85fef2611cef6d2cfe.tar.gz
dabmod-403c5ff5f425a11a71fecd85fef2611cef6d2cfe.tar.bz2
dabmod-403c5ff5f425a11a71fecd85fef2611cef6d2cfe.zip
DPD server: handle accept timeout correctly
Diffstat (limited to 'src/OutputUHDFeedback.cpp')
-rw-r--r--src/OutputUHDFeedback.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OutputUHDFeedback.cpp b/src/OutputUHDFeedback.cpp
index 056be29..cfb74b7 100644
--- a/src/OutputUHDFeedback.cpp
+++ b/src/OutputUHDFeedback.cpp
@@ -198,7 +198,8 @@ void OutputUHDFeedback::ServeFeedback()
TCPSocket client_sock = m_server_sock.accept_with_timeout(1000, &client);
if (not client_sock.valid()) {
- throw runtime_error("Could not establish new connection");
+ // No connection request received
+ continue;
}
uint8_t request_version = 0;