Commit 7f71e83c authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpd: Use 100 for MAX_CONCURRENT_STREAMS

parent 07814be5
...@@ -352,7 +352,7 @@ int Http2Handler::on_connect() ...@@ -352,7 +352,7 @@ int Http2Handler::on_connect()
nghttp2_settings_entry entry[2]; nghttp2_settings_entry entry[2];
size_t niv = 1; size_t niv = 1;
entry[0].settings_id = NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS; entry[0].settings_id = NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS;
entry[0].value = NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS; entry[0].value = 100;
if(sessions_->get_config()->no_connection_flow_control && if(sessions_->get_config()->no_connection_flow_control &&
sessions_->get_config()->no_stream_flow_control) { sessions_->get_config()->no_stream_flow_control) {
entry[niv].settings_id = NGHTTP2_SETTINGS_FLOW_CONTROL_OPTIONS; entry[niv].settings_id = NGHTTP2_SETTINGS_FLOW_CONTROL_OPTIONS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment