[benchmarks] Minor updates.
This commit is contained in:
parent
60be11c85b
commit
0314d6153e
2 changed files with 5 additions and 13 deletions
|
@ -1,23 +1,15 @@
|
||||||
|
|
||||||
|
|
||||||
global
|
global
|
||||||
nbthread 2
|
nbthread 2
|
||||||
|
maxconn 16640
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
mode http
|
||||||
timeout client 6s
|
timeout client 6s
|
||||||
timeout server 6s
|
timeout server 6s
|
||||||
timeout connect 6s
|
timeout connect 6s
|
||||||
timeout tarpit 1s
|
|
||||||
|
|
||||||
|
|
||||||
frontend http
|
frontend http
|
||||||
mode http
|
bind ipv4@127.9.185.194:8080 defer-accept backlog 65536
|
||||||
bind ipv4@127.9.185.194:8080
|
http-request return status 200 string "hello world!\n" content-type "text/plain; charset=utf-8" hdr "Content-Encoding" "identity" hdr "Cache-Control" "no-store, max-age=0"
|
||||||
|
|
||||||
# NOTE: Equivalent to `kawipiko`'s `--dummy-empty`
|
|
||||||
# http-request return
|
|
||||||
|
|
||||||
# NOTE: Equivalent to `kawipiko`'s `--dummy`
|
|
||||||
http-request return status 200 content-type "text/plain; charset=utf-8" string "hello world!\n" hdr "Content-Encoding" "identity" hdr "Cache-Control" "no-store, max-age=0"
|
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ http {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen 127.9.185.194:8080 bind reuseport backlog=65536;
|
listen 127.9.185.194:8080 bind reuseport deferred backlog=65536;
|
||||||
|
|
||||||
keepalive_disable none;
|
keepalive_disable none;
|
||||||
keepalive_requests 262144;
|
keepalive_requests 262144;
|
||||||
|
|
Loading…
Reference in a new issue