Mercurial > hg > nginx-tests
comparison mail_smtp_xclient.t @ 1679:74986ebee2fd
Tests: added proxy_timeout in mail tests.
Default proxy_timeout in mail proxy is 24h, so if nginx shutdown after a test
waits for the timeout to expire for some reason, this may take a while
and hard to diagnose.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 19 May 2021 04:32:59 +0300 |
parents | a8b8dd6e8ae1 |
children |
comparison
equal
deleted
inserted
replaced
1678:d0025a0dead7 | 1679:74986ebee2fd |
---|---|
34 events { | 34 events { |
35 } | 35 } |
36 | 36 |
37 mail { | 37 mail { |
38 proxy_pass_error_message on; | 38 proxy_pass_error_message on; |
39 proxy_timeout 15s; | |
39 auth_http http://127.0.0.1:8080/mail/auth; | 40 auth_http http://127.0.0.1:8080/mail/auth; |
40 xclient on; | 41 xclient on; |
41 | 42 |
42 server { | 43 server { |
43 listen 127.0.0.1:8025; | 44 listen 127.0.0.1:8025; |