Skip to content

Commit

Permalink
Avoid duplicate HTTP headers for istio-proxy probe requests (istio#28537
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Sam Naser authored Nov 3, 2020
1 parent 1f422dd commit 45b0d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/cmd/pilot-agent/status/server.go
Original file line number Diff line number Diff line change
@@ -456,7 +456,7 @@ func (s *Server) handleAppProbe(w http.ResponseWriter, req *http.Request) {
// Probe has specific host header override; honor it
appReq.Host = h.Value
} else {
appReq.Header.Add(h.Name, h.Value)
appReq.Header.Set(h.Name, h.Value)
}
}

0 comments on commit 45b0d1d

Please sign in to comment.