Commit 9892a932 authored by NTAuthority's avatar NTAuthority

close the content stream after writing a response

parent bab478e5
......@@ -106,6 +106,9 @@ namespace uhttpsharp
ContentStream.Position = 0;
await ContentStream.CopyToAsync(writer.BaseStream).ConfigureAwait(false);
// CitizenMP addition
await writer.BaseStream.FlushAsync().ConfigureAwait(false);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment