| 1247 | } |
| 1248 | |
| 1249 | unsigned |
| 1250 | Http2ConnectionSettings::set(Http2SettingsIdentifier id, unsigned value) |
| 1251 | { |
| 1252 | if (0 < id && id < HTTP2_SETTINGS_MAX) { |
| 1253 | return this->settings[indexof(id)] = value; |
| 1254 | } else { |
| 1255 | // Do nothing - 6.5.2 Unsupported parameters MUST be ignored |
| 1256 | } |
| 1257 | |
| 1258 | return 0; |
| 1259 | } |
| 1260 | |
| 1261 | unsigned |
| 1262 | Http2ConnectionSettings::indexof(Http2SettingsIdentifier id) |
no outgoing calls
no test coverage detected