如何在Google Chrome上修改SETTINGS_MAX_CONCURRENT_STREAMS?

时间:2016-05-05 10:46:36

标签: google-chrome server-push http2

我想知道是否可以在google chrome上修改此参数,默认情况下为1000.

感谢。

埃洛伊

1 个答案:

答案 0 :(得分:1)

我根本不熟悉SPDY,但我做了一些搜索并在Chromium项目中找到了以下内容:

// Maximum number of concurrent streams we will create, unless the server
// sends a SETTINGS frame with a different value.
const size_t kInitialMaxConcurrentStreams = 100;

// Specifies the maxiumum concurrent streams server could send (via push).
const int kMaxConcurrentPushedStreams = 1000;

https://cs.chromium.org/chromium/src/net/spdy/chromium/spdy_session.h?type=cs&q=kInitialMaxConcurrentStreams&sq=package:chromium&l=75

值是常数可能意味着它无法改变?这对你有什么帮助吗?