Emq-WebSocket-Protocol -> EMQ-WebSocket-Protocol
This commit is contained in:
parent
414f156d4a
commit
c64f172174
|
@ -90,7 +90,7 @@ check_protocol_header(Req) ->
|
|||
end.
|
||||
|
||||
get_protocol_header(Req) ->
|
||||
case Req:get_header_value("Emq-WebSocket-Protocol") of
|
||||
case Req:get_header_value("EMQ-WebSocket-Protocol") of
|
||||
undefined -> Req:get_header_value("Sec-WebSocket-Protocol");
|
||||
Proto -> Proto
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue