[openssl/openssl] 5c3474: QUIC err handling: Properly report network errors

Tomáš Mráz noreply at github.com
Fri Jul 7 13:19:08 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5c3474ea563ed95bb7c86c08867139613655276b
      https://github.com/openssl/openssl/commit/5c3474ea563ed95bb7c86c08867139613655276b
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M include/internal/quic_channel.h
    M ssl/quic/quic_channel.c
    M ssl/quic/quic_channel_local.h
    M ssl/quic/quic_impl.c
    M test/quicapitest.c

  Log Message:
  -----------
  QUIC err handling: Properly report network errors

We return SSL_ERROR_SYSCALL when network error is encountered.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21087)


  Commit: 9c3ea4e1d7580fc061dfb754b620adb3439e683f
      https://github.com/openssl/openssl/commit/9c3ea4e1d7580fc061dfb754b620adb3439e683f
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M crypto/err/build.info
    M crypto/err/err.c
    M crypto/err/err_local.h
    A crypto/err/err_save.c
    M doc/build.info
    A doc/man3/OSSL_ERR_STATE_save.pod
    M include/internal/quic_channel.h
    M include/openssl/err.h.in
    M ssl/quic/quic_channel.c
    M ssl/quic/quic_channel_local.h
    M ssl/quic/quic_impl.c
    M util/libcrypto.num

  Log Message:
  -----------
  QUIC err handling: Save and restore error state

We save the error state from the thread that encountered
a permanent error condition caused by system or internal
error to the QUIC_CHANNEL.

Then we restore it whenever we are returning to a user
call when protocol is shutdown.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21087)


  Commit: ff0de1637b5e25719a976c85f969598086d80358
      https://github.com/openssl/openssl/commit/ff0de1637b5e25719a976c85f969598086d80358
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M test/errtest.c

  Log Message:
  -----------
  Test OSSL_ERR_STATE_save/restore()

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21087)


  Commit: 0345cac6d29da328739e8b06b02260b63d4a91e9
      https://github.com/openssl/openssl/commit/0345cac6d29da328739e8b06b02260b63d4a91e9
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC err handling: Add multi-stream test

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21087)


Compare: https://github.com/openssl/openssl/compare/76696a5413db...0345cac6d29d


More information about the openssl-commits mailing list