summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commit5d27e7e9ae7135f8ba92498e3c4e7f9b77f2f8e3 (patch)
treec9cf4fcc867692c2c13d629a64961940a18d03db /include
parent13ac037d0148b6e461ca635bb1c627a4b759318a (diff)
downloadopenssl-new-5d27e7e9ae7135f8ba92498e3c4e7f9b77f2f8e3.tar.gz
QUIC FIFD: Ensure QUIC_STREAM is updated after QUIC_SSTREAM loss
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_fifd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/internal/quic_fifd.h b/include/internal/quic_fifd.h
index 4a42449bbe..ae9e32882a 100644
--- a/include/internal/quic_fifd.h
+++ b/include/internal/quic_fifd.h
@@ -37,6 +37,9 @@ struct quic_fifd_st {
QUIC_TXPIM_PKT *pkt,
void *arg);
void *regen_frame_arg;
+ void (*sstream_updated)(uint64_t stream_id,
+ void *arg);
+ void *sstream_updated_arg;
};
int ossl_quic_fifd_init(QUIC_FIFD *fifd,
@@ -53,7 +56,10 @@ int ossl_quic_fifd_init(QUIC_FIFD *fifd,
uint64_t stream_id,
QUIC_TXPIM_PKT *pkt,
void *arg),
- void *regen_frame_arg);
+ void *regen_frame_arg,
+ void (*sstream_updated)(uint64_t stream_id,
+ void *arg),
+ void *sstream_updated_arg);
void ossl_quic_fifd_cleanup(QUIC_FIFD *fifd); /* (no-op) */