mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
ignoring error
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user