comparison mail_resolver.t @ 1215:26884729e06b

Tests: cope with resolver resend in mail resolver tests. Currently, if resolver didn't find PTR type in the answer section of PTR response, it keeps the node in the resend queue until the next timer event.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 31 Aug 2017 19:09:04 +0300
parents 65fc7a0ca418
children e4974af3fb12
comparison
equal deleted inserted replaced
1214:a05ba24a462b 1215:26884729e06b
60 server { 60 server {
61 listen 127.0.0.1:8028; 61 listen 127.0.0.1:8028;
62 protocol smtp; 62 protocol smtp;
63 resolver 127.0.0.1:%%PORT_8083_UDP%%; 63 resolver 127.0.0.1:%%PORT_8083_UDP%%;
64 resolver_timeout 1s; 64 resolver_timeout 1s;
65
66 } 65 }
67 66
68 server { 67 server {
69 listen 127.0.0.1:8029; 68 listen 127.0.0.1:8029;
70 protocol smtp; 69 protocol smtp;
79 78
80 server { 79 server {
81 listen 127.0.0.1:8031; 80 listen 127.0.0.1:8031;
82 protocol smtp; 81 protocol smtp;
83 resolver 127.0.0.1:%%PORT_8086_UDP%%; 82 resolver 127.0.0.1:%%PORT_8086_UDP%%;
83 resolver_timeout 1s;
84 } 84 }
85 85
86 server { 86 server {
87 listen 127.0.0.1:8032; 87 listen 127.0.0.1:8032;
88 protocol smtp; 88 protocol smtp;