comparison stream_ssl.t @ 1141:d4e779356d8d

Tests: typo.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 01 Mar 2017 19:20:14 +0300
parents 778eae8230e4
children ba3279915da5
comparison
equal deleted inserted replaced
1140:778eae8230e4 1141:d4e779356d8d
48 ssl_certificate_key localhost.key; 48 ssl_certificate_key localhost.key;
49 ssl_certificate localhost.crt; 49 ssl_certificate localhost.crt;
50 ssl_session_tickets off; 50 ssl_session_tickets off;
51 51
52 # inherited by server "inherits" 52 # inherited by server "inherits"
53 ssl_password_file password_http; 53 ssl_password_file password_stream;
54 54
55 server { 55 server {
56 listen 127.0.0.1:8080 ssl; 56 listen 127.0.0.1:8080 ssl;
57 proxy_pass 127.0.0.1:8081; 57 proxy_pass 127.0.0.1:8081;
58 58
114 114
115 my $ctx = Net::SSLeay::CTX_new() or die("Failed to create SSL_CTX $!"); 115 my $ctx = Net::SSLeay::CTX_new() or die("Failed to create SSL_CTX $!");
116 116
117 $t->write_file('password', 'localhost'); 117 $t->write_file('password', 'localhost');
118 $t->write_file('password_many', "wrong$CRLF" . "localhost$CRLF"); 118 $t->write_file('password_many', "wrong$CRLF" . "localhost$CRLF");
119 $t->write_file('password_http', 'inherits'); 119 $t->write_file('password_stream', 'inherits');
120 120
121 my $p = fork(); 121 my $p = fork();
122 exec("echo localhost > $d/password_fifo") if $p == 0; 122 exec("echo localhost > $d/password_fifo") if $p == 0;
123 123
124 $t->run_daemon(\&http_daemon); 124 $t->run_daemon(\&http_daemon);