Keep sending if padding is required just in case
@@ -4145,7 +4145,8 @@ static ngtcp2_ssize conn_write_pkt(ngtcp2_conn *conn, ngtcp2_pkt_info *pi,
keep_alive_expired = conn_keep_alive_expired(conn, ts);
- if (conn->pktns.rtb.probe_pkt_left == 0 && !keep_alive_expired) {
+ if (conn->pktns.rtb.probe_pkt_left == 0 && !keep_alive_expired &&
+ !require_padding) {
return 0;
}
} else if (write_more) {
