File: test-timeout.cfg

package info (click to toggle)
haproxy 1.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,364 kB
  • ctags: 8,494
  • sloc: ansic: 92,976; xml: 1,754; sh: 1,227; python: 1,005; makefile: 831; perl: 550
file content (27 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This is a test configuration.
# It is used to check that time units are correctly parsed.

global
	maxconn    1000
        stats timeout 3s

listen  sample1
        mode       http
        retries    1
        redispatch
        timeout    client  15m
        timeout    http-request 6s
        timeout    tarpit  20s
        timeout    queue   60s
        timeout    connect 5s
        timeout    server  15m
        maxconn    40000
        bind       :8000
        balance    roundrobin
	option     allbackups
        server     act1 127.0.0.1:80 weight 10 check port 81 inter 500ms fall 1
        server     act2 127.0.0.2:80 weight 20 check port 81 inter 500ms fall 1
        server     act3 127.0.0.3:80 weight 30 check port 81 inter 500ms fall 1
        option     httpclose
	stats      uri /stats
	stats      refresh 5000ms