comparison mail_imap_ssl.t @ 1701:408fe0dd3fed

Tests: fixed mail_imap_ssl.t too long shutdown. Prior to literals support in IMAP test backend (e7f0b4ca0a1a), early backend response was treated as invalid, with subsequent proxy connection close. Now that the connection continues successfully, this requires connection close before nginx shutdown. Otherwise, it would wait for proxy_timeout.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 17 Jun 2021 19:52:36 +0300
parents 74986ebee2fd
children f0a02a429a59
comparison
equal deleted inserted replaced
1700:c903c0a3f302 1701:408fe0dd3fed
205 SSL_key_file => "$d/3.example.com.key", 205 SSL_key_file => "$d/3.example.com.key",
206 %ssl, 206 %ssl,
207 ); 207 );
208 $s->ok('trusted cert'); 208 $s->ok('trusted cert');
209 $s->send('1 AUTHENTICATE PLAIN ' . $cred->("s5")); 209 $s->send('1 AUTHENTICATE PLAIN ' . $cred->("s5"));
210 $s->read(); 210 undef $s;
211 211
212 # test auth_http request header fields with access_log 212 # test auth_http request header fields with access_log
213 213
214 $t->stop(); 214 $t->stop();
215 215