[openssl/openssl] aa4330: Keep sending datagrams while we have data to send

Matt Caswell noreply at github.com
Fri Aug 25 06:45:15 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: aa433014bb36bfff0af17c0eb9d25b6fb2d7d068
      https://github.com/openssl/openssl/commit/aa433014bb36bfff0af17c0eb9d25b6fb2d7d068
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M ssl/quic/quic_channel.c
    M test/recipes/75-test_quicapi_data/ssltraceref.txt

  Log Message:
  -----------
  Keep sending datagrams while we have data to send

If we've got more data to send than will fit in a single datagram we should
keep generating those datagrams until we've sent it all.

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


  Commit: 0b31072e086dc9a53f62cec60ea8d565320e640a
      https://github.com/openssl/openssl/commit/0b31072e086dc9a53f62cec60ea8d565320e640a
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M include/internal/quic_txpim.h
    M ssl/quic/quic_txp.c
    M ssl/quic/quic_txpim.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21798)


  Commit: 8c5284ff194f444877ae25012d3d07ee46e46219
      https://github.com/openssl/openssl/commit/8c5284ff194f444877ae25012d3d07ee46e46219
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M test/quicapitest.c

  Log Message:
  -----------
  Test that we send multiple datagrams in one go if appropriate

If we have enough data for more than one datagram then we should send more
than one datagram

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


Compare: https://github.com/openssl/openssl/compare/e2972982c64f...8c5284ff194f


More information about the openssl-commits mailing list