Tests: extended proxy_ssl.t for more ngx_ssl_recv_chain() cases.
diff --git a/proxy_ssl.t b/proxy_ssl.t
index 192457f..70888e6 100644
--- a/proxy_ssl.t
+++ b/proxy_ssl.t
@@ -25,7 +25,7 @@
 plan(skip_all => 'IO::Socket::SSL not installed') if $@;
 
 my $t = Test::Nginx->new()->has(qw/http proxy http_ssl/)->has_daemon('openssl')
-	->plan(7)->write_file_expand('nginx.conf', <<'EOF');
+	->plan(8)->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
 
@@ -85,6 +85,7 @@
 [ req_distinguished_name ]
 EOF
 
+$t->write_file('big.html', 'xxxxxxxxxx' x 72000);
 $t->write_file('index.html', '');
 
 my $d = $t->testdir();
@@ -120,6 +121,9 @@
 
 like(http_get('/timeout_h'), qr/504 Gateway/, 'proxy handshake timeout');
 
+is(length(Test::Nginx::http_content(http_get('/ssl/big.html'))), 720000,
+	'big length');
+
 ###############################################################################
 
 sub http_daemon {