Nathan Skrzypczak | e92090b | 2019-07-04 14:32:40 +0200 | [diff] [blame] | 1 | diff --git a/lib/quicly.c b/lib/quicly.c |
| 2 | index fac85f2..80e1bcd 100644 |
| 3 | --- a/lib/quicly.c |
| 4 | +++ b/lib/quicly.c |
| 5 | @@ -3240,6 +3240,7 @@ static int initiate_close(quicly_conn_t *conn, int err, uint64_t frame_type, con |
| 6 | int quicly_close(quicly_conn_t *conn, int err, const char *reason_phrase) |
| 7 | { |
| 8 | assert(err == 0 || QUICLY_ERROR_IS_QUIC_APPLICATION(err)); |
| 9 | + update_now(conn->super.ctx); |
| 10 | |
| 11 | return initiate_close(conn, err, QUICLY_FRAME_TYPE_PADDING /* used when err == 0 */, reason_phrase); |
| 12 | } |