Commit a628c99e authored by Honfika's avatar Honfika

websocket fix in transparent mode, #792

parent cd28f66a
......@@ -29,10 +29,7 @@ namespace Titanium.Web.Proxy
await HeaderParser.ReadHeaders(serverConnection.Stream, response.Headers,
cancellationToken);
if (!args.IsTransparent)
{
await clientStream.WriteResponseAsync(response, cancellationToken);
}
await clientStream.WriteResponseAsync(response, cancellationToken);
// If user requested call back then do it
if (!args.HttpClient.Response.Locked)
......
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