Add missing Close() statement
This commit is contained in:
1 parent
0814bc6b2d
commit
94b23cadc5
1 file changed
+3
@@ -279,6 +279,9 @@ public sealed class HttpServer {
|
|||||||
await HandleDefaultErrorPageAsync(rc, 500);
|
await HandleDefaultErrorPageAsync(rc, 500);
|
||||||
mainLogger.Fatal($"Caught otherwise uncaught exception while ProcessingRequest:\n{ex}");
|
mainLogger.Fatal($"Caught otherwise uncaught exception while ProcessingRequest:\n{ex}");
|
||||||
}
|
}
|
||||||
|
finally {
|
||||||
|
rc.ListenerContext.Response.Close();
|
||||||
|
}
|
||||||
|
|
||||||
LogRequest();
|
LogRequest();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user