Revert "Merge pull request #931 from pedronasser/master"

This reverts commit 9ea0591951, reversing
changes made to 2125ae5f99.
This commit is contained in:
Matthew Holt
2016-07-21 13:31:43 -06:00
parent 4678471fe0
commit 57710e8b0d
4 changed files with 3 additions and 24 deletions
+2 -2
View File
@@ -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 {