mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-29 14:28:03 +00:00
REGTESTS: httpclient/lua: add greater body values
Add greater body values and checks in order to check the behavior with sizes greater than an haproxy buffer size.
This commit is contained in:
parent
67b778418e
commit
d19d7762c1
@ -14,14 +14,18 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
server s1 {
|
server s1 {
|
||||||
rxreq
|
rxreq
|
||||||
txresp -bodylen 200
|
txresp -bodylen 54000
|
||||||
|
expect req.body ~ ".*0 ABCDEFGHIJKLMNOPQRSTUVWXYZ.*"
|
||||||
|
expect req.body ~ ".*500 ABCDEFGHIJKLMNOPQRSTUVWXYZ.*"
|
||||||
|
expect req.body ~ ".*1000 ABCDEFGHIJKLMNOPQRSTUVWXYZ.*"
|
||||||
|
expect req.body ~ ".*1500 ABCDEFGHIJKLMNOPQRSTUVWXYZ.*"
|
||||||
expect req.body ~ ".*2000 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
expect req.body ~ ".*2000 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
server s2 {
|
server s2 {
|
||||||
rxreq
|
rxreq
|
||||||
txresp
|
txresp
|
||||||
expect req.bodylen == 200
|
expect req.bodylen == 54000
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
Loading…
Reference in New Issue
Block a user