FindReplaceResponseFilter - Remove debugging code that was outputting the count as part of the response

AppendResponseFilter - Improve comment
This commit is contained in:
amaitland
2017-01-30 09:33:05 +10:00
parent 08d6fa902b
commit 1228f992d0
2 changed files with 2 additions and 3 deletions
@@ -49,7 +49,7 @@ namespace CefSharp.Example.Filters
dataIn.CopyTo(dataOut);
}
// If we have overflow data then write it.
// If we have overflow data and remaining space in the buffer then write the overflow.
if (overflow.Count > 0)
{
// Number of bytes remaining in the output buffer.
@@ -79,8 +79,7 @@ namespace CefSharp.Example.Filters
if (findMatchOffset == findString.Length)
{
// Complete match of the find string. Write the replace string.
var replaceString = ++replaceCount + ". " + replacementString;
WriteString(replaceString, replaceString.Length, dataOut, ref dataOutWritten);
WriteString(replacementString, replacementString.Length, dataOut, ref dataOutWritten);
// Start over looking for a match.
findMatchOffset = 0;