apache / apache/trafficserver

Replay tests can't handle duplicate headers with different values

Open
#11,824 1 comment 0 reactions 0 assignees View on GitHub
AuTest Stale Tests
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

Replay files seem to search for the first header when testing and assume that is the intended value. This is fine except for duplicate headers.

E.g.
X-Duplicate-Header: same
X-Duplicate-Header: other

It would then fail like this
`[INFO]: Equals Violation: Different. Key: "fill_1", Field Name: "x-duplicate-header", Correct Value: "other", Actual Value: "same" : 26`

Despite that other is the intended value for the second duplicate header

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.