Merge pull request #3371 from processone/3175-fixup
Fix some edge cases in handling ssl information from PROXY protocol
This commit is contained in:
commit
14e1a53f76
|
|
@ -112,7 +112,7 @@ proxy_ssl_info(Sock, {rabbit_proxy_socket, _, ProxyInfo}) ->
|
||||||
end,
|
end,
|
||||||
CipherSuite = case ssl:str_to_suite(binary_to_list(Cipher)) of
|
CipherSuite = case ssl:str_to_suite(binary_to_list(Cipher)) of
|
||||||
#{} = CS -> CS;
|
#{} = CS -> CS;
|
||||||
_ -> ssl_info(Sock)
|
_ -> nossl
|
||||||
end,
|
end,
|
||||||
case {Proto, CipherSuite} of
|
case {Proto, CipherSuite} of
|
||||||
{nossl, _} -> ssl_info(Sock);
|
{nossl, _} -> ssl_info(Sock);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue