[openssl/openssl] 2113ea: Improve the QUIC_RSTREAM implementation
Tomáš Mráz
noreply at github.com
Mon Mar 6 11:29:28 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 2113ea584cdfd59892bbeb7acd78d8b1a825a156
https://github.com/openssl/openssl/commit/2113ea584cdfd59892bbeb7acd78d8b1a825a156
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M include/internal/quic_sf_list.h
M include/internal/quic_stream.h
A include/internal/ring_buf.h
M ssl/quic/quic_channel.c
M ssl/quic/quic_rstream.c
M ssl/quic/quic_sf_list.c
M ssl/quic/quic_sstream.c
M test/quic_stream_test.c
Log Message:
-----------
Improve the QUIC_RSTREAM implementation
Add API calls to avoid copying data when reading
These are ossl_quic_rstream_get_record() and
ossl_quic_rstream_release_record().
Add side storage for the stream frame data.
When there are too many packets referenced by the
receiving stream the function ossl_quic_rstream_move_to_rbuf()
can be called to move the data to a ring buffer.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19794)
Commit: 330ce4a39bd6d0c1fd5ba7426574fb1f36cef961
https://github.com/openssl/openssl/commit/330ce4a39bd6d0c1fd5ba7426574fb1f36cef961
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M test/quic_stream_test.c
Log Message:
-----------
Test new ossl_quic_rstream API calls
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19794)
Commit: 7fa216095a7ebcfa8fbf9f6143b0fb336e77c964
https://github.com/openssl/openssl/commit/7fa216095a7ebcfa8fbf9f6143b0fb336e77c964
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M test/quic_stream_test.c
Log Message:
-----------
test_rstream_random(): Test adding final empty frame
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19794)
Commit: bf762f9203d3b5541c21f2b376750e32ebf36651
https://github.com/openssl/openssl/commit/bf762f9203d3b5541c21f2b376750e32ebf36651
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M ssl/quic/quic_sf_list.c
Log Message:
-----------
stream_frame_new(): Add missing allocation check
Reported by Marc Schönefeld.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19794)
Compare: https://github.com/openssl/openssl/compare/ac21c1780a63...bf762f9203d3
More information about the openssl-commits
mailing list