2
0

Fix #248 double closing OutputStream in response

This commit is contained in:
Glax 2024-09-16 19:58:26 +02:00
parent 3b9d4a6735
commit 77bb309dfa

View File

@ -208,7 +208,6 @@ public partial class Server : GlobalBase, IDisposable
response.ContentType = "image/jpeg";
response.AddHeader("Cache-Control", "max-age=600");
stream.CopyTo(response.OutputStream);
response.OutputStream.Close();
stream.Close();
}
else