summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-19 14:19:27 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-19 14:19:27 +0200
commit4e463958f796fb20380cc06f257d998d1e454196 (patch)
tree84aff3ff8dc8dbe045880ec35b55aa63f9ead2d3 /src
parent7cba56319b6855b189c80323f2150657901e6442 (diff)
downloaddabmux-4e463958f796fb20380cc06f257d998d1e454196.tar.gz
dabmux-4e463958f796fb20380cc06f257d998d1e454196.tar.bz2
dabmux-4e463958f796fb20380cc06f257d998d1e454196.zip
non libsodium zeromq crash on ZMQ_CURVE_SERVER set to 0
Diffstat (limited to 'src')
-rw-r--r--src/dabInputZmq.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp
index 9955fe3..4b04b75 100644
--- a/src/dabInputZmq.cpp
+++ b/src/dabInputZmq.cpp
@@ -194,10 +194,8 @@ void DabInputZmqBase::rebind()
m_zmq_sock.setsockopt(ZMQ_CURVE_SERVER, &no, sizeof(no));
}
catch (zmq::error_t& err) {
- std::ostringstream os;
- os << "ZMQ remove keys for input " << m_name << " failed: " <<
- err.what();
- throw std::runtime_error(os.str());
+ etiLog.level(warn) << "ZMQ disable encryption keys for input " <<
+ m_name << " failed: " << err.what();
}
}