mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-30 18:45:18 -04:00
Revert "Merge pull request #931 from pedronasser/master"
This reverts commit9ea0591951, reversing changes made to2125ae5f99.
This commit is contained in:
@@ -209,8 +209,8 @@ func TestParseBlock(t *testing.T) {
|
||||
for _, upstream := range upstreams {
|
||||
headers := upstream.Select().UpstreamHeaders
|
||||
|
||||
if !upstream.Transparent() {
|
||||
t.Errorf("Test %d: Upstream should be in transparent mode", i+1)
|
||||
if _, ok := headers["Host"]; !ok {
|
||||
t.Errorf("Test %d: Could not find the Host header", i+1)
|
||||
}
|
||||
|
||||
if _, ok := headers["X-Real-Ip"]; !ok {
|
||||
|
||||
Reference in New Issue
Block a user