Mercurial > hg > nginx-tests
comparison mail_pop3.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 | 766bcbb632ee |
children | e6bf510f5e13 |
comparison
equal
deleted
inserted
replaced
1678:d0025a0dead7 | 1679:74986ebee2fd |
---|---|
36 events { | 36 events { |
37 } | 37 } |
38 | 38 |
39 mail { | 39 mail { |
40 proxy_pass_error_message on; | 40 proxy_pass_error_message on; |
41 proxy_timeout 15s; | |
41 auth_http http://127.0.0.1:8080/mail/auth; | 42 auth_http http://127.0.0.1:8080/mail/auth; |
42 | 43 |
43 server { | 44 server { |
44 listen 127.0.0.1:8110; | 45 listen 127.0.0.1:8110; |
45 protocol pop3; | 46 protocol pop3; |