Commit 30870882 authored by Björn Weström's avatar Björn Weström

Set ContentLength in ConnectResponse explicitly to properly handle HTTP 1.0

parent 255edefd
...@@ -22,6 +22,8 @@ namespace Titanium.Web.Proxy.Http ...@@ -22,6 +22,8 @@ namespace Titanium.Web.Proxy.Http
StatusDescription = "Connection Established" StatusDescription = "Connection Established"
}; };
// Set ContentLength explicitly to properly handle HTTP 1.0
response.ContentLength = 0;
return response; return response;
} }
} }
......
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