summaryrefslogtreecommitdiffstats
path: root/tests/conf/test-backlog.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conf/test-backlog.cfg')
-rw-r--r--tests/conf/test-backlog.cfg22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/conf/test-backlog.cfg b/tests/conf/test-backlog.cfg
new file mode 100644
index 0000000..bc4a71e
--- /dev/null
+++ b/tests/conf/test-backlog.cfg
@@ -0,0 +1,22 @@
+# This is a test configuration.
+# It is used to check that the backlog queue works as expected.
+
+global
+ maxconn 200
+ stats timeout 3s
+
+frontend backlog_def
+ mode http
+ timeout client 15s
+ maxconn 100
+ bind :8000
+ option httpclose
+
+frontend backlog_max
+ mode http
+ timeout client 15s
+ maxconn 100
+ backlog 100000
+ bind :8001
+ option httpclose
+