Mercurial > hg > nginx-tests
comparison stream_upstream.t @ 1505:76090a5da00b
Tests: unbreak various tests with TCP blackhole.
Adjusted proxy_connect_timeout to handle closed ports that don't return RST.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 09 Sep 2019 15:42:31 +0300 |
parents | 875967f737d4 |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1504:03f8fb9f6492 | 1505:76090a5da00b |
---|---|
58 | 58 |
59 upstream u4 { | 59 upstream u4 { |
60 server 127.0.0.1:8086 fail_timeout=1s; | 60 server 127.0.0.1:8086 fail_timeout=1s; |
61 server 127.0.0.1:8084 backup; | 61 server 127.0.0.1:8084 backup; |
62 } | 62 } |
63 | |
64 proxy_connect_timeout 2; | |
63 | 65 |
64 server { | 66 server { |
65 listen 127.0.0.1:8080; | 67 listen 127.0.0.1:8080; |
66 proxy_pass u; | 68 proxy_pass u; |
67 } | 69 } |