]> git.ipfire.org Git - thirdparty/openssl.git/commit
s_client: use the full buffer for reads
authorHubert Kario <hkario@redhat.com>
Thu, 20 Jun 2024 15:48:35 +0000 (17:48 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 21 Jun 2024 17:09:17 +0000 (13:09 -0400)
commit03448ba21b5e720f59f7d349fcffd26c53323414
tree23ac626189a8f1773abe3d418dafcb9baf03099a
parent663dbc9c9c897392a9f9d18aa9a8400ca024dc5d
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@redhat.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24688)
apps/s_client.c