Chrome Network Parameters

6,213 views
Skip to first unread message

Ahmed Said

unread,
Dec 19, 2013, 5:09:50 AM12/19/13
to chromi...@chromium.org
Hi,

because of some tests I am interested to change some network parameters in Chrome browser code before building. 
these parameters are available in Firefox through about:config but not available for chrome.

1- network.http.connection-retry-timeout: used to manage the browser retry time out to start a new TCP connection.
2- network.http.speculative-parallel-limit: used to manage the behavior of the browser to establish speculative connections.
3- network.http.max-connections: maximum number of established TCP connections
4- network.http.max-persistent-connections-per-server: maximum number of TCP connection per domain.

I want to know where to find these modules in the source code in term to change as per my required parameters.

Thanks,

Chris Bentzel

unread,
Dec 19, 2013, 10:43:26 AM12/19/13
to ahmed...@gmail.com, chromium-dev
Many of these tunable parameters are in ClientSocketPoolManager:

https://code.google.com/p/chromium/codesearch#chromium/src/net/socket/client_socket_pool_manager_impl.cc&sq=package:chromium&l=60&rcl=1387196362

[note codesearch.chromium.org is a great way to explore the code base]

You will need to rebuild Chrome with this rather than be able to
dynamically tune.

Good luck!
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev

Ahmed Said

unread,
Jan 16, 2014, 11:20:15 AM1/16/14
to chromi...@chromium.org, ahmed...@gmail.com
Hello,
Thanks for reply, I managed to change these parameters and build the browser. still having a problem with TCP connections over SSL with ni persistent connection enabled ; the browser is opening number of connections double the number of objects i.e. if I have a webpage with 10 objects, the browser will establish 20 TCP connections when it is accessed over SSL with no persistence connection enabled from the server.
I am not able to find any explanation to this behavior yet.

Yuri Gaben

unread,
May 18, 2019, 5:32:47 PM5/18/19
to Chromium-dev, ahmed...@gmail.com
about:config missing in last google chrome... how chsnge http-max-connection ???

PhistucK

unread,
May 19, 2019, 2:35:03 AM5/19/19
to standa...@gmail.com, Chromium-dev, ahmed...@gmail.com
about:config was never supported in Chrome. The closest thing to it is about:flags (or plain command line flags), but it does not control the features this thread discusses.
It looks like you need to build your own customized edition of Chromium in order to change this value.

PhistucK


---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/68223689-a95c-41b5-8b9b-e0ba991071c6%40chromium.org.
Reply all
Reply to author
Forward
0 new messages