| 2723 | } |
| 2724 | |
| 2725 | void |
| 2726 | Http2ConnectionState::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. |