[openssl/openssl] e57bf6: Keep track of connection credit as we add stream data

Matt Caswell noreply at github.com
Wed Nov 15 08:11:07 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: e57bf6b3bfa2f0b18e5cad7fd3c5fdd7c51516b9
      https://github.com/openssl/openssl/commit/e57bf6b3bfa2f0b18e5cad7fd3c5fdd7c51516b9
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M include/internal/quic_fc.h
    M ssl/quic/quic_fc.c
    M ssl/quic/quic_stream_map.c
    M ssl/quic/quic_txp.c
    M test/quic_fc_test.c

  Log Message:
  -----------
  Keep track of connection credit as we add stream data

If a single packet contains data from multiple streams we need to keep track
of the cummulative connection level credit consumed across all of the
streams. Once the connection level credit has been consumed we must stop
adding stream data.

Fixes #22706

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22718)


  Commit: aa6ac60728207ba18779d7cbe71893c066bcbc28
      https://github.com/openssl/openssl/commit/aa6ac60728207ba18779d7cbe71893c066bcbc28
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M test/quic_fc_test.c

  Log Message:
  -----------
  Add some additional tests for the new fc "consumed" params

Check that the "consumed" parameter is working as expected.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22718)


Compare: https://github.com/openssl/openssl/compare/f5a63bf1c02c...aa6ac6072820


More information about the openssl-commits mailing list