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

Function http2_write_settings

src/proxy/http2/HTTP2.cc:236–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236bool
237http2_write_settings(const Http2SettingsParameter &param, const IOVec &iov)
238{
239 byte_pointer ptr(iov.iov_base);
240
241 if (unlikely(iov.iov_len < HTTP2_SETTINGS_PARAMETER_LEN)) {
242 return false;
243 }
244
245 write_and_advance(ptr, param.id);
246 write_and_advance(ptr, param.value);
247
248 return true;
249}
250
251bool
252http2_write_ping(const uint8_t *opaque_data, IOVec iov)

Callers 1

write_toMethod · 0.85

Calls 1

write_and_advanceFunction · 0.85

Tested by

no test coverage detected