From 40e8d0c75e5f19167f08f0159830723684178a4f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 20 Dec 2016 00:21:52 -0500 Subject: add additional http server error handling --- RSSDP/SsdpCommunicationsServer.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'RSSDP/SsdpCommunicationsServer.cs') diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.cs index b709861d5..97f5ebbd0 100644 --- a/RSSDP/SsdpCommunicationsServer.cs +++ b/RSSDP/SsdpCommunicationsServer.cs @@ -182,6 +182,10 @@ namespace Rssdp.Infrastructure try { await socket.SendAsync(messageData, messageData.Length, destination).ConfigureAwait(false); + } + catch (ObjectDisposedException) + { + } catch (Exception ex) { -- cgit v1.2.3