diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2019-07-04 14:32:40 +0200 |
---|---|---|
committer | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2019-07-09 10:09:20 +0200 |
commit | e92090b4f44dce41c3a5288478f6de52b5d98462 (patch) | |
tree | 3bd1db8d9364cc7ef0fc3ae215cf056efb5d7c27 /build | |
parent | 0cbc71d783b9ad385e3d9efba181b75e37265318 (diff) |
quic: fix passive disconnect handling & refactor
Type: refactor
Change-Id: Ie54a77252e9f58a90f9e1f9595b9ede354952f70
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/external/patches/quicly_0.0.2-vpp/0002-close-update-now.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/external/patches/quicly_0.0.2-vpp/0002-close-update-now.patch b/build/external/patches/quicly_0.0.2-vpp/0002-close-update-now.patch new file mode 100644 index 00000000000..27b54a6105b --- /dev/null +++ b/build/external/patches/quicly_0.0.2-vpp/0002-close-update-now.patch @@ -0,0 +1,12 @@ +diff --git a/lib/quicly.c b/lib/quicly.c +index fac85f2..80e1bcd 100644 +--- a/lib/quicly.c ++++ b/lib/quicly.c +@@ -3240,6 +3240,7 @@ static int initiate_close(quicly_conn_t *conn, int err, uint64_t frame_type, con + int quicly_close(quicly_conn_t *conn, int err, const char *reason_phrase) + { + assert(err == 0 || QUICLY_ERROR_IS_QUIC_APPLICATION(err)); ++ update_now(conn->super.ctx); + + return initiate_close(conn, err, QUICLY_FRAME_TYPE_PADDING /* used when err == 0 */, reason_phrase); + } |