Commit ebe15c59 authored by titanium007's avatar titanium007

Add comments

parent 6cb2ed4f
...@@ -480,7 +480,7 @@ namespace Titanium.Web.Proxy ...@@ -480,7 +480,7 @@ namespace Titanium.Web.Proxy
} }
//This is called when the request is PUT/POST to read the body
private static void GetRequestStreamCallback(IAsyncResult AsynchronousResult) private static void GetRequestStreamCallback(IAsyncResult AsynchronousResult)
{ {
var args = (SessionEventArgs)AsynchronousResult.AsyncState; var args = (SessionEventArgs)AsynchronousResult.AsyncState;
...@@ -537,6 +537,7 @@ namespace Titanium.Web.Proxy ...@@ -537,6 +537,7 @@ namespace Titanium.Web.Proxy
} }
} }
//Need to revist, find any potential bugs
else if (args.ProxyRequest.SendChunked) else if (args.ProxyRequest.SendChunked)
{ {
args.ProxyRequest.AllowWriteStreamBuffering = true; args.ProxyRequest.AllowWriteStreamBuffering = true;
......
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