浏览器并发数 network.http.max-connections

network.http.max-connections

https://bugs.chromium.org/p/chromium/issues/detail?id=12066

https://chromium.googlesource.com/chromium/src/+/65.0.3325.162/net/socket/client_socket_pool_manager.cc#44

https://chromium.googlesource.com/chromium/src/+/refs/heads/master/net/socket/client_socket_pool_manager.cc

// Default to allow up to 6 connections per host. Experiment and tuning may
  // try other values (greater than 0). Too large may cause many problems, such
  // as home routers blocking the connections!?!? See http://crbug.com/12066.
  //
  // WebSocket connections are long-lived, and should be treated differently
  // than normal other connections. Use a limit of 255, so the limit for wss will
  // be the same as the limit for ws. Also note that Firefox uses a limit of 200.
  // See http://crbug.com/486800
  int g_max_sockets_per_group[] = {
  6, // NORMAL_SOCKET_POOL
  255 // WEBSOCKET_SOCKET_POOL
  };

69.0.1 (64-bit)

about:config
 network.http.max-connections;900

https://bugzilla.mozilla.org/show_bug.cgi?id=1370670

原文地址:https://www.cnblogs.com/rsapaper/p/11603732.html