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

Matt Caswell noreply at github.com
Wed Nov 15 10:06:07 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 915ec623eca7b413db6f54ec4aa64585e81ac4df
      https://github.com/openssl/openssl/commit/915ec623eca7b413db6f54ec4aa64585e81ac4df
  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)

(cherry picked from commit e57bf6b3bfa2f0b18e5cad7fd3c5fdd7c51516b9)


  Commit: 50c56768e184f1c0559d1c88d09d5db001221f28
      https://github.com/openssl/openssl/commit/50c56768e184f1c0559d1c88d09d5db001221f28
  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)

(cherry picked from commit aa6ac60728207ba18779d7cbe71893c066bcbc28)


Compare: https://github.com/openssl/openssl/compare/1b83adc06513...50c56768e184


More information about the openssl-commits mailing list