trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Skip lua_proxy_protocol test if curl command is old

Open maskit opened this issue 1 month ago • 1 comments

--haproxy-clientip flag for curl command is only available version 8.2.0 or above.

We have the check on test_TSVConnPPInfo. https://github.com/apache/trafficserver/blob/163056e768a147822d0e2810b48fc1d15ccf0097/tests/gold_tests/pluginTest/tsapi/test_TSVConnPPInfo.test.py#L25-L28

maskit avatar Dec 10 '25 00:12 maskit

I didn't know we can check the options as well. I updated the tests with `HasCurlOption".

maskit avatar Dec 10 '25 21:12 maskit