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