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

Function http2_write_ping

src/proxy/http2/HTTP2.cc:251–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251bool
252http2_write_ping(const uint8_t *opaque_data, IOVec iov)
253{
254 byte_pointer ptr(iov.iov_base);
255
256 if (unlikely(iov.iov_len < HTTP2_PING_LEN)) {
257 return false;
258 }
259
260 write_and_advance(ptr, opaque_data, HTTP2_PING_LEN);
261
262 return true;
263}
264
265bool
266http2_write_goaway(const Http2Goaway &goaway, IOVec iov)

Callers 1

write_toMethod · 0.85

Calls 1

write_and_advanceFunction · 0.85

Tested by

no test coverage detected