Allo session resumption
This commit is contained in:
parent
4f0c334e12
commit
d627619dab
|
@ -15,7 +15,8 @@ has Str $.certificate-file is required;
|
|||
has Str $.private-key-file is required;
|
||||
|
||||
method run() {
|
||||
my $connections = IO::Socket::Async::SSL.listen($!listen, $!port, :$.certificate-file, :$.private-key-file);
|
||||
my $connections = IO::Socket::Async::SSL.listen($!listen, $!port, :$.certificate-file, :$.private-key-file,
|
||||
:no-session-resumption-on-renegotiation(False));
|
||||
react {
|
||||
my $listener = do whenever $connections -> $socket {
|
||||
start self!handle-connection($socket)
|
||||
|
|
Loading…
Reference in New Issue