Fix #248 double closing OutputStream in response
This commit is contained in:
parent
3b9d4a6735
commit
77bb309dfa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user