From 4c6ef863cf8477ecaf51519258d84ea5e3b1fa25 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Mon, 13 Jan 2014 16:47:51 -0500
Subject: [PATCH] * #38532: audiortp: disable abort on socket error

---
 daemon/src/audio/audiortp/audio_rtp_factory.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/daemon/src/audio/audiortp/audio_rtp_factory.cpp b/daemon/src/audio/audiortp/audio_rtp_factory.cpp
index 1df051ae6f..3d5c2178c5 100644
--- a/daemon/src/audio/audiortp/audio_rtp_factory.cpp
+++ b/daemon/src/audio/audiortp/audio_rtp_factory.cpp
@@ -54,7 +54,10 @@ AudioRtpFactory::AudioRtpFactory(SIPCall *ca) : rtpSession_(),
     cachedRemoteMasterSalt_(MAX_MASTER_SALT_LENGTH),
     remoteOfferIsSet_(false), ca_(ca),
     keyExchangeProtocol_(NONE)
-{}
+{
+    // FIXME: workaround for uncatchable ost::Socket "exceptions"
+    ost::Thread::setException(ost::Thread::throwNothing);
+}
 
 AudioRtpFactory::~AudioRtpFactory()
 {}
-- 
GitLab