]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: Add script to test abortonclose option
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Apr 2021 12:37:07 +0000 (14:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 May 2021 07:19:20 +0000 (09:19 +0200)
commit16b37510bc1114ab7603240f8bbfeea20e5ee23b
treedfcaa931df08d4f4a4d99d9be5aceaf81bf4cd9a
parent1baef1523d1be1b6edf76c78688af932d4d36d8a
REGTESTS: Add script to test abortonclose option

This script test abortonclose option for HTTP/1 client only. It may be
backported as far as 2.0. But on the 2.2 and prior, the syslog part must be
adapted to catch log messages emitted by proxy during HAProxy
startup. Following lines must be added :

    recv
    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Proxy fe1 started."
    recv
    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Proxy fe2 started."
reg-tests/http-messaging/http_abortonclose.vtc [new file with mode: 0644]