0

Is it possible to change the "max-connections-per-server" (like Firefox) in CEF-Client. Need it to show many mjpeg-streams in on tab.

In my case, the folowing is no solution. Increasing Google Chrome's max-connections-per-server limit to more than 6

Community
  • 1
  • 1
Stefan
  • 11
  • 1
  • 5

1 Answers1

0

The limit of 6 connections is currently hard-coded in Chrome:

https://chromium.googlesource.com/chromium/src/net/+/master/socket/client_socket_pool_manager.cc#47

However, with CEF, you can provide your own resource handler which could be limited as you please.

A custom resource handler is a subclass of CefResourceHandler. It is plugged through a custom CefRequestHandler with an overridden GetResourceHandler method.

Similarly, a custom CefRequestHandler is plugged through method GetRequestHandler of your subclass of CefClient.

Paul Guyot
  • 6,257
  • 1
  • 20
  • 31