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

Method send_ping_frame

src/proxy/http2/Http2ConnectionState.cc:2725–2732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2723}
2724
2725void
2726Http2ConnectionState::send_ping_frame(Http2StreamId id, uint8_t flag, const uint8_t *opaque_data)
2727{
2728 Http2StreamDebug(session, id, "Send PING frame");
2729
2730 Http2PingFrame ping(id, flag, opaque_data);
2731 this->session->xmit(ping);
2732}
2733
2734// As for graceful shutdown, TS should process outstanding stream as long as possible.
2735// As for signal connection error, TS should close connection immediately.

Callers 1

rcv_ping_frameMethod · 0.95

Calls 1

xmitMethod · 0.80

Tested by

no test coverage detected