We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07edf84 commit 5a97537Copy full SHA for 5a97537
setup_test.go
@@ -67,6 +67,21 @@ func TestParseConfig(t *testing.T) {
67
exp{subnet: "0.0.0.0/0", timeout: 5 * time.Second},
68
exp{subnet: "::/0", timeout: 5 * time.Second},
69
)
70
+ check(
71
+ "no-timeout",
72
+ `proxyprotocol 0.0.0.0/0 {
73
+ timeout 0
74
+ }`,
75
+ exp{subnet: "0.0.0.0/0"},
76
+ )
77
78
79
80
+ timeout none
81
82
83
84
+
85
check(
86
"block-single",
87
`proxyprotocol 0.0.0.0/0 {
0 commit comments