MCPcopy Create free account
hub / github.com/apache/trafficserver / set

Method set

src/proxy/http2/Http2ConnectionState.cc:1249–1259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1247}
1248
1249unsigned
1250Http2ConnectionSettings::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
1261unsigned
1262Http2ConnectionSettings::indexof(Http2SettingsIdentifier id)

Callers 6

rcv_settings_frameMethod · 0.45
initMethod · 0.45
create_streamMethod · 0.45
send_settings_frameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected