Skip to content

Commit

Permalink
fix(proxy) do not clear upgrade header (case-insensitive), fix Kong#4779
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Jul 5, 2019
1 parent 5991240 commit 887380b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/runloop/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ return {
end

if var.upstream_http_upgrade and
var.upstream_http_upgrade ~= var.upstream_upgrade then
lower(var.upstream_http_upgrade) ~= lower(var.upstream_upgrade) then
header["Upgrade"] = nil
end

Expand Down

0 comments on commit 887380b

Please sign in to comment.