mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Up the WCF MaxRecieveMessageSize as per discussion in https://github.com/cefsharp/CefSharp/issues/958#issuecomment-94410222
It's now 128MB in line with the Chromium IPC
This commit is contained in:
@@ -13,7 +13,7 @@ namespace CefSharp.Internals
|
||||
{
|
||||
public class BrowserProcessServiceHost : ServiceHost
|
||||
{
|
||||
private const long SixteenMegaBytesInBytes = 16*1024*1024;
|
||||
private const long OneHundredAndTwentyEightMegaBytesInBytes = 128*1024*1024;
|
||||
|
||||
public JavascriptObjectRepository JavascriptObjectRepository { get; private set; }
|
||||
private TaskCompletionSource<OperationContext> operationContextTaskCompletionSource = new TaskCompletionSource<OperationContext>();
|
||||
@@ -122,7 +122,7 @@ namespace CefSharp.Internals
|
||||
public static CustomBinding CreateBinding()
|
||||
{
|
||||
var binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);
|
||||
binding.MaxReceivedMessageSize = SixteenMegaBytesInBytes;
|
||||
binding.MaxReceivedMessageSize = OneHundredAndTwentyEightMegaBytesInBytes;
|
||||
binding.ReceiveTimeout = TimeSpan.MaxValue;
|
||||
binding.SendTimeout = TimeSpan.MaxValue;
|
||||
binding.OpenTimeout = TimeSpan.MaxValue;
|
||||
|
||||
Reference in New Issue
Block a user