> On 10 Mar 2023, at 09:00, Maxim Dounin <mdou...@mdounin.ru> wrote: > > # HG changeset patch > # User Maxim Dounin <mdou...@mdounin.ru> > # Date 1678424073 -10800 > # Fri Mar 10 07:54:33 2023 +0300 > # Node ID 946c3b39d1f9adf3f96f1c04963539ecd1c63a8f > # Parent 49d12f8c4cf69e1cbe7feccae3b0ea1ac2ca8c2f > Tests: adapted session reuse tests to work with TLSv1.3. > > In TLSv1.3, session tickets are sent after the handshake, and saving session > right after the handshake is not going to work. To properly test session > resumption, sessions are now saved after some data exchange. > > diff --git a/mail_ssl.t b/mail_ssl.t > --- a/mail_ssl.t > +++ b/mail_ssl.t > @@ -182,24 +182,28 @@ my $s = Test::Nginx::IMAP->new(); > my ($ssl, $ses); > > ($s, $ssl) = get_ssl_socket(8145); > +Net::SSLeay::read($ssl); > $ses = Net::SSLeay::get_session($ssl); > > [..]
Good for me. -- Sergey Kandaurov _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel