This date is shared between the idle timer and hanshake timeout. So, it should be
useful to dump the expiration date of the idle timer task itself, in place of the
idle timer expiration date. This way, the handshake timeout value will be visible
during the handshake from CLI "show quic full" command.
else
chunk_appendf(&trash, "mux=released ");
- expire = qc->idle_expire;
- chunk_appendf(&trash, "expire=%02ds ",
- TICKS_TO_MS(tick_remain(now_ms, expire)) / 1000);
+ if (qc->idle_timer_task) {
+ expire = qc->idle_timer_task->expire;
+ chunk_appendf(&trash, "expire=%02ds ",
+ TICKS_TO_MS(tick_remain(now_ms, expire)) / 1000);
+ }
chunk_appendf(&trash, "\n");