commit | f95838ca2da07766d14f11359b1a30c1ad6c7361 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Oct 28 19:19:48 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 28 19:19:48 2018 +0100 |
tree | 16c50afc2bddc8be40f697b42055cb6a99d283a2 | |
parent | e7a770ce80767f32356a02c1a013e14e0b130a6d [diff] |
REGTEST: make the IP+port logging test more reliable On my machine, test log/b00000.vtc fails ~9/10 times. Apparently, the connection is often marked as reset before the timeout strikes, so the log shows "CD" flags instead of "cD". This fix does two things : 1) shorten the client timeout to 1 millisecond instead of 5 2) accept both "cD" and "CD" as valid termination states since the purpose is to validate the source address and port, and not the status itself.