Commit 3e2f6712 authored by justcoding121's avatar justcoding121 Committed by justcoding121

Add comments

parent 670a2be6
...@@ -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