| 1220 | } |
| 1221 | |
| 1222 | void |
| 1223 | Http2ConnectionSettings::settings_from_configs(bool is_outbound) |
| 1224 | { |
| 1225 | if (is_outbound) { |
| 1226 | settings[indexof(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS)] = Http2::max_concurrent_streams_out; |
| 1227 | settings[indexof(HTTP2_SETTINGS_INITIAL_WINDOW_SIZE)] = Http2::initial_window_size_out; |
| 1228 | } else { |
| 1229 | settings[indexof(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS)] = Http2::max_concurrent_streams_in; |
| 1230 | settings[indexof(HTTP2_SETTINGS_INITIAL_WINDOW_SIZE)] = Http2::initial_window_size_in; |
| 1231 | } |
| 1232 | settings[indexof(HTTP2_SETTINGS_MAX_FRAME_SIZE)] = Http2::max_frame_size; |
| 1233 | settings[indexof(HTTP2_SETTINGS_HEADER_TABLE_SIZE)] = Http2::header_table_size; |
| 1234 | settings[indexof(HTTP2_SETTINGS_MAX_HEADER_LIST_SIZE)] = Http2::max_header_list_size; |
| 1235 | } |
| 1236 | |
| 1237 | unsigned |
| 1238 | Http2ConnectionSettings::get(Http2SettingsIdentifier id) const |
no outgoing calls
no test coverage detected