Add missing Close() statement

This commit is contained in:
GHXX 2024-01-15 21:09:17 +01:00
parent 0814bc6b2d
commit 94b23cadc5

View File

@ -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();
} }