[openssl/openssl] 1df479: QUIC TSERVER: Allow detection of new incoming streams

Hugo Landau noreply at github.com
Wed May 24 09:41:08 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 1df479a9f95d2862e32c43c89d17d3e094fb2292
      https://github.com/openssl/openssl/commit/1df479a9f95d2862e32c43c89d17d3e094fb2292
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

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

  Log Message:
  -----------
  QUIC TSERVER: Allow detection of new incoming streams

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: a350db7318cba3566014ac02a5caa5f4884f00ba
      https://github.com/openssl/openssl/commit/a350db7318cba3566014ac02a5caa5f4884f00ba
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MSMT: Revise tests to support multithreading

Alsoo rename OPK_C_ACCEPT_STREAM to reflect its current behaviour.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 274bb489cb800552cdf6d15ef5e7481551c14544
      https://github.com/openssl/openssl/commit/274bb489cb800552cdf6d15ef5e7481551c14544
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MSMT: Add a basic multithreading test

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: fca44cfc1c930afab94fac08ad5a3a303f1724fe
      https://github.com/openssl/openssl/commit/fca44cfc1c930afab94fac08ad5a3a303f1724fe
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MSMT: Stress tests, support for repeating test opoerations

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 5915a900af86db8625caa77a02fd50cf9a3b3e1b
      https://github.com/openssl/openssl/commit/5915a900af86db8625caa77a02fd50cf9a3b3e1b
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M include/internal/quic_stream_map.h
    M ssl/quic/quic_channel.c
    M ssl/quic/quic_stream_map.c
    M test/quic_txp_test.c

  Log Message:
  -----------
  QUIC QSM: Allow QSM to know if we are in the server role

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: e8142d2ce8383329e6a71639d154191c1515ba55
      https://github.com/openssl/openssl/commit/e8142d2ce8383329e6a71639d154191c1515ba55
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M ssl/quic/quic_stream_map.c

  Log Message:
  -----------
  QUIC QSM: Correct the logic for determining stream count limits

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 3dde3435abab4524e62af31d87bd795543822e54
      https://github.com/openssl/openssl/commit/3dde3435abab4524e62af31d87bd795543822e54
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M ssl/quic/quic_fc.c

  Log Message:
  -----------
  QUIC FC: Correct operation of stream count mode

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: dea57ecf3d0729abb964bfc1ff687b2cbb9845de
      https://github.com/openssl/openssl/commit/dea57ecf3d0729abb964bfc1ff687b2cbb9845de
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M ssl/quic/quic_rx_depack.c

  Log Message:
  -----------
  QUIC RXDP: Ensure all stream-related frames autocreate a stream

RFC requirement.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 0554f723c1b13f66e56d892b332ccd36aee498ad
      https://github.com/openssl/openssl/commit/0554f723c1b13f66e56d892b332ccd36aee498ad
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MSMT TESTS: Add tests to exercise MAX_STREAMS

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: faa3a180efcf17c8fc7db354367d2b03d89f3042
      https://github.com/openssl/openssl/commit/faa3a180efcf17c8fc7db354367d2b03d89f3042
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M ssl/quic/quic_impl.c
    M ssl/quic/quic_local.h

  Log Message:
  -----------
  QUIC APL: Make SSL_get_error per-stream, error raising refactor

This refactors the error raising code in the APL to automatically raise
errors in the correct SSL object, either a QCSO or QSSO depending on the
circumstances. The QCTX structure's responsibilities are expanded to
facilitate this. This further drives towards a unified mechanism for
generic dispatch precondition checking and error raising.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 7ba8f79a0ff5f085c9f1b4471496180c052360f5
      https://github.com/openssl/openssl/commit/7ba8f79a0ff5f085c9f1b4471496180c052360f5
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MSMT: macOS robustness fixes

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 1a0de4c1eea1f32a3e1113add26625d49b3854d8
      https://github.com/openssl/openssl/commit/1a0de4c1eea1f32a3e1113add26625d49b3854d8
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/quic_tserver_test.c

  Log Message:
  -----------
  QUIC TSERVER: Use a random port in the tserver test

Fixes nondeterministic failures where BIO_bind would fail on some
platforms.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 629b408c12c56b2c9e3279de8658718e8dd658a2
      https://github.com/openssl/openssl/commit/629b408c12c56b2c9e3279de8658718e8dd658a2
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M crypto/threads_none.c
    M crypto/threads_pthread.c
    M crypto/threads_win.c
    M doc/man3/CRYPTO_THREAD_run_once.pod
    M include/internal/cryptlib.h
    M include/internal/refcount.h
    M include/openssl/crypto.h.in
    M ssl/quic/quic_impl.c
    M ssl/quic/quic_reactor.c
    M ssl/quic/quic_tserver.c
    M test/quic_multistream_test.c
    M test/quic_tserver_test.c
    M util/libcrypto.num

  Log Message:
  -----------
  QUIC: Fix bugs where threading is disabled

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: d4cb369f2dae284fa30df7d84616c150f8f03a01
      https://github.com/openssl/openssl/commit/d4cb369f2dae284fa30df7d84616c150f8f03a01
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M .github/workflows/ci.yml
    M .github/workflows/windows.yml

  Log Message:
  -----------
  Add no-threads build to CI

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 2b5427027b74d6ea14638c25c1efe028a99aaf54
      https://github.com/openssl/openssl/commit/2b5427027b74d6ea14638c25c1efe028a99aaf54
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M doc/designs/quic-design/glossary.md

  Log Message:
  -----------
  QUIC Glossary: Add QCTX

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 5cccc0afdb67a77f9c6eeeba2140748782c011c9
      https://github.com/openssl/openssl/commit/5cccc0afdb67a77f9c6eeeba2140748782c011c9
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M .github/workflows/ci.yml

  Log Message:
  -----------
  QUIC: Add to threads sanitizer CI

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: abbbc06a94cafa7e212bfe7dcbf818ac33d986d3
      https://github.com/openssl/openssl/commit/abbbc06a94cafa7e212bfe7dcbf818ac33d986d3
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M include/internal/ring_buf.h

  Log Message:
  -----------
  Remove an unused variable (clang 16 warning)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 45b7c7e06e8d28ad9a7ea0f7662ec04f283f7c36
      https://github.com/openssl/openssl/commit/45b7c7e06e8d28ad9a7ea0f7662ec04f283f7c36
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M ssl/quic/quic_impl.c

  Log Message:
  -----------
  QUIC APL: Unlock mutex before freeing (clang tsan error)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 2fa90442984349b41401e008df26ee707b6c851d
      https://github.com/openssl/openssl/commit/2fa90442984349b41401e008df26ee707b6c851d
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/testutil/basic_output.c

  Log Message:
  -----------
  Make testutil text output functions thread safe (tsan)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: a2c61e414332fa7162bb0f9ab991983e0d8cb438
      https://github.com/openssl/openssl/commit/a2c61e414332fa7162bb0f9ab991983e0d8cb438
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M crypto/threads_win.c

  Log Message:
  -----------
  Add note about Windows LONG

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


  Commit: 6dea91f56dcbcb0979dd36790664808ad960faf9
      https://github.com/openssl/openssl/commit/6dea91f56dcbcb0979dd36790664808ad960faf9
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M test/testutil/basic_output.c

  Log Message:
  -----------
  Resolve a djgpp function name conflict

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)


Compare: https://github.com/openssl/openssl/compare/bc89c9f97735...6dea91f56dcb


More information about the openssl-commits mailing list