REGTEST: Wrong assumption in IP:port logging test.

In this reg test, as the client connection is not supposed to receive any
server response, we should try to "rxresp" but we should expect the client
connection to be closed by haproxy. This is done replacing "rxresp" by
"expect_close". Furthermore since dbb75ee3 vtest commit, calling "rxresp"
expects at least to receive a HTTP header as shown by Travis build
here: https://travis-ci.com/haproxy/haproxy/jobs/198126488.
This commit is contained in:
Frdric Lcaille 2019-05-07 12:00:36 +02:00 committed by Willy Tarreau
parent 7eb936e688
commit 5dfdd4a630

View File

@ -57,7 +57,7 @@ backend be_app
client c1 -connect ${h1_fe_1_sock} {
txreq -url "/"
rxresp
expect_close
} -run
syslog Slg_1 -wait