File: mptcp.cfg

package info (click to toggle)
haproxy 3.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 24,584 kB
  • sloc: ansic: 275,085; sh: 3,607; xml: 1,756; python: 1,345; makefile: 1,162; perl: 168; cpp: 21
file content (23 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# You can test this configuration by running the command:
#
#   $ mptcpize run curl localhost:5000

global
   strict-limits  # refuse to start if insufficient FDs/memory
   # add some process-wide tuning here if required

defaults
   mode http
   balance roundrobin
   timeout client 60s
   timeout server 60s
   timeout connect 1s

frontend main
    bind mptcp@[::]:5000
    default_backend mptcp_backend

# MPTCP is usually used on the frontend, but it is also possible
# to enable it to communicate with the backend
backend mptcp_backend
    server mptcp_server mptcp@[::]:4331