Azure / azure-relay-aspnetserver

ASP.NET Core Hosting for Azure Relay
Other
15 stars 30 forks source link

Should copy all Headers before writing to the Response.Body stream. #8

Open dlstucki opened 6 years ago

dlstucki commented 6 years ago

If the ResponseStream has already been written to when CopyHeaders gets called it's possible that that's too late to change the headers because they may have already been transmitted over the wire.

https://github.com/Azure/azure-relay-aspnetserver/blob/503cec828e348a1ed2d4021c747a746b946551fd/src/Microsoft.Azure.Relay.AspNetCore/Response.cs#L105