summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_server.c
diff options
context:
space:
mode:
authorlteo <>2015-09-11 02:10:32 +0000
committerlteo <>2015-09-11 02:10:32 +0000
commitac9970bf83eb538d947431df1d1af013cfd5f77d (patch)
tree0fa03895a0c1248e1002af419f3ee71b39a45765 /src/lib/libtls/tls_server.c
parente57a475c4379eecd80b1d00c7ab6d12a2c075168 (diff)
downloadopenbsd-ac9970bf83eb538d947431df1d1af013cfd5f77d.tar.gz
openbsd-ac9970bf83eb538d947431df1d1af013cfd5f77d.tar.bz2
openbsd-ac9970bf83eb538d947431df1d1af013cfd5f77d.zip
Change the default behavior of the s_time command so that it will
perform a proper shutdown by sending a "close notify" alert to the server. This allows s_time to benchmark a full TLS connection more accurately. Introduce a new flag called -no_shutdown to make s_time adopt the previous behavior (i.e. shut down the connection without notifying the server) so that comparisons can still be made with OpenSSL's version. The idea of using a flag (which replaces a #define) was suggested by bcook@. Thanks to millert@ and miod@ as well for their feedback on an earlier diff which resulted in this change. ok bcook@ beck@
Diffstat (limited to 'src/lib/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions