mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
FindReplaceResponseFilter - Remove debugging code that was outputting the count as part of the response
AppendResponseFilter - Improve comment
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user