mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
REGTEST: log/b00000: Be sure the client always hits its timeout
To do so, the server does not send anything. Instead it waits 2ms before closing. The client, on its side, will wait for a response. So it will be blocked. Becauase the client timeout is set to 1ms, HAProxy should always close the client connection because it times out.
This commit is contained in:
parent
7057898f0f
commit
0dc100b4f2
@ -23,7 +23,7 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
server s1 {
|
server s1 {
|
||||||
rxreq
|
rxreq
|
||||||
txresp
|
delay 0.02
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
syslog Slg_1 -level notice {
|
syslog Slg_1 -level notice {
|
||||||
@ -55,7 +55,7 @@ backend be_app
|
|||||||
|
|
||||||
client c1 -connect ${h1_fe_1_sock} {
|
client c1 -connect ${h1_fe_1_sock} {
|
||||||
txreq -url "/"
|
txreq -url "/"
|
||||||
delay 0.02
|
rxresp
|
||||||
} -run
|
} -run
|
||||||
|
|
||||||
syslog Slg_1 -wait
|
syslog Slg_1 -wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user