提交 23abea63 编写于 作者: M Matt Caswell

Document the num_tickets s_server option

Fixes #7727
Reviewed-by: NMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7756)

(cherry picked from commit 7ffb7fbe8c1c1bc467993389478d2ea6f00e1860)
上级 ef97becf
...@@ -98,6 +98,7 @@ B<openssl> B<s_server> ...@@ -98,6 +98,7 @@ B<openssl> B<s_server>
[B<-no_comp>] [B<-no_comp>]
[B<-comp>] [B<-comp>]
[B<-no_ticket>] [B<-no_ticket>]
[B<-num_tickets>]
[B<-serverpref>] [B<-serverpref>]
[B<-legacy_renegotiation>] [B<-legacy_renegotiation>]
[B<-no_renegotiation>] [B<-no_renegotiation>]
...@@ -558,7 +559,14 @@ OpenSSL 1.1.0. ...@@ -558,7 +559,14 @@ OpenSSL 1.1.0.
=item B<-no_ticket> =item B<-no_ticket>
Disable RFC4507bis session ticket support. Disable RFC4507bis session ticket support. This option has no effect if TLSv1.3
is negotiated. See B<-num_tickets>.
=item B<-num_tickets>
Control the number of tickets that will be sent to the client after a full
handshake in TLSv1.3. The default number of tickets is 2. This option does not
affect the number of tickets sent after a resumption handshake.
=item B<-serverpref> =item B<-serverpref>
......
...@@ -20,10 +20,10 @@ SSL_CTX_get_num_tickets ...@@ -20,10 +20,10 @@ SSL_CTX_get_num_tickets
=head1 DESCRIPTION =head1 DESCRIPTION
SSL_CTX_set_num_tickets() and SSL_set_num_tickets() can be called for a server SSL_CTX_set_num_tickets() and SSL_set_num_tickets() can be called for a server
application and set the number of session tickets that will be sent to the application and set the number of TLSv1.3 session tickets that will be sent to
client after a full handshake. Set the desired value (which could be 0) in the the client after a full handshake. Set the desired value (which could be 0) in
B<num_tickets> argument. Typically these functions should be called before the the B<num_tickets> argument. Typically these functions should be called before
start of the handshake. the start of the handshake.
The default number of tickets is 2; the default number of tickets sent following The default number of tickets is 2; the default number of tickets sent following
a resumption handshake is 1 but this cannot be changed using these functions. a resumption handshake is 1 but this cannot be changed using these functions.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册