Mercurial > hg > nginx-tests
diff lib/Test/Nginx/HTTP2.pm @ 932:f9ab0aa6e14e
Tests: simple ssl_verify_client tests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 23 May 2016 13:58:34 +0300 |
parents | 2668f30181eb |
children | b1fa8e0cc27b |
line wrap: on
line diff
--- a/lib/Test/Nginx/HTTP2.pm +++ b/lib/Test/Nginx/HTTP2.pm @@ -439,7 +439,7 @@ sub raw_write { sub new_session { my ($port, %extra) = @_; - my $s = new_socket($port, %extra); + my $s = $extra{socket} || new_socket($port, %extra); my $preface = $extra{preface} || 'PRI * HTTP/2.0' . CRLF . CRLF . 'SM' . CRLF . CRLF;