ignoring error

This commit is contained in:
Shreyas Zare
2019-01-14 11:26:57 +05:30
parent cfc1b57ee4
commit e751dd3e18

View File

@@ -523,7 +523,14 @@ namespace DnsServerCore
using (Stream stream = response.OutputStream) using (Stream stream = response.OutputStream)
{ {
fS.CopyTo(stream); try
{
fS.CopyTo(stream);
}
catch (HttpListenerException)
{
//ignore this error
}
} }
} }
} }