comparison stream_proxy_next_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
43 43
44 upstream u2 { 44 upstream u2 {
45 server 127.0.0.1:8083; 45 server 127.0.0.1:8083;
46 server 127.0.0.1:8085 backup; 46 server 127.0.0.1:8085 backup;
47 } 47 }
48
49 proxy_connect_timeout 2;
48 50
49 server { 51 server {
50 listen 127.0.0.1:8080; 52 listen 127.0.0.1:8080;
51 proxy_pass u; 53 proxy_pass u;
52 proxy_next_upstream off; 54 proxy_next_upstream off;