frontend fe
bind "fd@${fe}"
+ tcp-request inspect-delay 100ms
tcp-request content track-sc0 url table stkt
tcp-request content sc-inc-gpc0(0)
}
haproxy h2 -arg "-L B" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h3 -arg "-L C" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
}
client c1 -connect ${h1_fe_sock} {
- txreq -url "c1_client"
+ txreq -url "/c1_client"
expect_close
} -start
client c2 -connect ${h1_fe_sock} {
- txreq -url "c2_client"
+ txreq -url "/c2_client"
expect_close
} -start
client c3 -connect ${h1_fe_sock} {
- txreq -url "c3_client"
+ txreq -url "/c3_client"
expect_close
} -start
client c4 -connect ${h1_fe_sock} {
- txreq -url "c4_client"
+ txreq -url "/c4_client"
expect_close
} -start
haproxy h1 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h2 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h3 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
frontend fe
bind "fd@${fe}"
+ tcp-request inspect-delay 100ms
tcp-request content track-sc0 url table peers/stkt
tcp-request content sc-inc-gpc0(0)
}
haproxy h2 -arg "-L B" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h3 -arg "-L C" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
}
client c1 -connect ${h1_fe_sock} {
- txreq -url "c1_client"
+ txreq -url "/c1_client"
expect_close
} -start
client c2 -connect ${h1_fe_sock} {
- txreq -url "c2_client"
+ txreq -url "/c2_client"
expect_close
} -start
client c3 -connect ${h1_fe_sock} {
- txreq -url "c3_client"
+ txreq -url "/c3_client"
expect_close
} -start
client c4 -connect ${h1_fe_sock} {
- txreq -url "c4_client"
+ txreq -url "/c4_client"
expect_close
} -start
haproxy h1 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h2 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h3 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
frontend fe
bind "fd@${fe}"
+ tcp-request inspect-delay 100ms
tcp-request content track-sc0 url table stkt
tcp-request content sc-inc-gpc0(0)
}
haproxy h2 -arg "-L B" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h3 -arg "-L C" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h4 -arg "-L D" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
}
client c1 -connect ${h1_fe_sock} {
- txreq -url "c1_client"
+ txreq -url "/c1_client"
expect_close
} -start
client c2 -connect ${h1_fe_sock} {
- txreq -url "c2_client"
+ txreq -url "/c2_client"
expect_close
} -start
client c3 -connect ${h1_fe_sock} {
- txreq -url "c3_client"
+ txreq -url "/c3_client"
expect_close
} -start
client c4 -connect ${h1_fe_sock} {
- txreq -url "c4_client"
+ txreq -url "/c4_client"
expect_close
} -start
haproxy h1 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h2 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h3 -cli {
send "show table stkt"
- expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h4 -cli {
frontend fe
bind "fd@${fe}"
+ tcp-request inspect-delay 100ms
tcp-request content track-sc0 url table peers/stkt
tcp-request content sc-inc-gpc0(0)
}
haproxy h2 -arg "-L B" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h3 -arg "-L C" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
haproxy h4 -arg "-L D" -conf {
defaults
+ mode http
timeout client 1s
timeout connect 1s
timeout server 1s
}
client c1 -connect ${h1_fe_sock} {
- txreq -url "c1_client"
+ txreq -url "/c1_client"
expect_close
} -start
client c2 -connect ${h1_fe_sock} {
- txreq -url "c2_client"
+ txreq -url "/c2_client"
expect_close
} -start
client c3 -connect ${h1_fe_sock} {
- txreq -url "c3_client"
+ txreq -url "/c3_client"
expect_close
} -start
client c4 -connect ${h1_fe_sock} {
- txreq -url "c4_client"
+ txreq -url "/c4_client"
expect_close
} -start
haproxy h1 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h2 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h3 -cli {
send "show table peers/stkt"
- expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
+ expect ~ "# table: peers/stkt, type: string, size:1048[0-9]{4}, used:4(\n0x[0-9a-f]*: key=/c[1-4]_client use=0 exp=0 server_id=0 gpc0=1 conn_rate\\(50000\\)=1 conn_cur=0){4}"
}
haproxy h4 -cli {