hnakamur opened a new pull request, #12067:
URL: https://github.com/apache/trafficserver/pull/12067
Without this workaround, if the hostname is set to a loopback address
redirect_actions test fails like below:
```
file
/home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt
: Checking that
/home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt
matches
/home/jenkins/trafficserver/tests/gold_tests/redirect/generated_test_data/9-tr.gold
- Failed
Reason: File differences
Gold File :
/home/jenkins/trafficserver/tests/gold_tests/redirect/generated_test_data/9-tr.gold
Data File :
/home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt
- HTTP/1.1 307 Temporary Redirect
+ HTTP/1.1 204 No Content
```
This error happens since the address is a loopback so it is not rejected as
expected.
As a workaround, use the ip command to obtain a non-loopback IP address.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]