Add missing Close() statement
This commit is contained in:
@@ -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