summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-18 11:55:50 +0100
committerTomas Mraz <tomas@openssl.org>2023-08-25 08:42:39 +0200
commit0b31072e086dc9a53f62cec60ea8d565320e640a (patch)
tree2896c53e51eefadbf43547079eb61b8d9b5596f0 /include
parentaa433014bb36bfff0af17c0eb9d25b6fb2d7d068 (diff)
Don't keep creating CONNECTION_CLOSE frames
If we want to send a CONNECTION_CLOSE frame then one is enough unless we are scheduled to send another one. Now that we can create more than one datagram in one go this is now required. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21798)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_txpim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/quic_txpim.h b/include/internal/quic_txpim.h
index 3415230c72..0f1f11c630 100644
--- a/include/internal/quic_txpim.h
+++ b/include/internal/quic_txpim.h
@@ -40,6 +40,7 @@ typedef struct quic_txpim_pkt_st {
unsigned int had_max_streams_bidi_frame : 1;
unsigned int had_max_streams_uni_frame : 1;
unsigned int had_ack_frame : 1;
+ unsigned int had_conn_close : 1;
/* Private data follows. */
} QUIC_TXPIM_PKT;