blob: 27b54a6105b236135b7e5a3fd7c934745afcd743 [file] [log] [blame]
Nathan Skrzypczake92090b2019-07-04 14:32:40 +02001diff --git a/lib/quicly.c b/lib/quicly.c
2index 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 }