Skip to content

Commit 7ab4edd

Browse files
author
Bjarte Skogøy
committed
Set all quotas to int.MaxValue
1 parent e158ce5 commit 7ab4edd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CefSharp/Internals/BrowserProcessServiceHost.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public static CustomBinding CreateBinding()
7878
binding.ReaderQuotas.MaxStringContentLength = int.MaxValue;
7979
binding.ReaderQuotas.MaxArrayLength = int.MaxValue;
8080
binding.ReaderQuotas.MaxDepth = int.MaxValue;
81+
binding.ReaderQuotas.MaxNameTableCharCount = int.MaxValue;
82+
binding.ReaderQuotas.MaxBytesPerRead = int.MaxValue;
8183

8284
// Ensure binding connection stays open indefinitely until closed
8385
var customBinding = new CustomBinding(binding);

0 commit comments

Comments
 (0)