Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit ebe15c5

Browse files
committed
Add comments
1 parent 6cb2ed4 commit ebe15c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Titanium.Web.Proxy/RequestHandler.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ private static void ReadRequestHeaders(ref List<string> RequestLines, HttpWebReq
480480

481481

482482
}
483-
483+
//This is called when the request is PUT/POST to read the body
484484
private static void GetRequestStreamCallback(IAsyncResult AsynchronousResult)
485485
{
486486
var args = (SessionEventArgs)AsynchronousResult.AsyncState;
@@ -537,6 +537,7 @@ private static void GetRequestStreamCallback(IAsyncResult AsynchronousResult)
537537
}
538538

539539
}
540+
//Need to revist, find any potential bugs
540541
else if (args.ProxyRequest.SendChunked)
541542
{
542543
args.ProxyRequest.AllowWriteStreamBuffering = true;

0 commit comments

Comments
 (0)