]> git.ipfire.org Git - thirdparty/openssl.git/commit
s_client: Support interactive reconnect command
authorSteven Collison <steven@raycoll.com>
Sat, 18 Jun 2022 15:26:20 +0000 (08:26 -0700)
committerPauli <pauli@openssl.org>
Tue, 4 Oct 2022 04:01:36 +0000 (15:01 +1100)
commit511c49189ef600d41f44cd7c5d204e9ea27b5f48
tree30fc8762b31c3291fdd77a8ffd1210d7109fc21d
parent8c7d847e2e6ac6bfded210c19fd8461254bb2be3
s_client: Support interactive reconnect command

This change adds the 'C' command character to allow a user to drop the
current session and reconnect to the server. It has the same behavior as
the `-reconnect` option except this allows reconnect to be triggered at
an arbitrary point in the session.

The primary use case for this change is to provide a way for the user to
probe a server for TLS1.3 session resumption support. This is not
currently reliably supported by the `-reconnect` option.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18683)
apps/s_client.c