[openssl/openssl] 03448b: s_client: use the full buffer for reads

Hubert Kario noreply at github.com
Fri Jun 21 17:18:52 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 03448ba21b5e720f59f7d349fcffd26c53323414
      https://github.com/openssl/openssl/commit/03448ba21b5e720f59f7d349fcffd26c53323414
  Author: Hubert Kario <hkario at redhat.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M apps/s_client.c

  Log Message:
  -----------
  s_client: use the full buffer for reads

Use full allocated buffer for reads to not call into switch() over and
over; also increase the size of the buffer to 16 kiB (max for TLS
records). The server side already is using 16 kiB buffers.

Signed-off-by: Hubert Kario <hkario at redhat.com>

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24688)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list