Merge pull request #3371 from processone/3175-fixup

Fix some edge cases in handling ssl information from PROXY protocol
This commit is contained in:
Michael Klishin 2021-09-07 09:11:52 +03:00 committed by GitHub
commit 14e1a53f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ proxy_ssl_info(Sock, {rabbit_proxy_socket, _, ProxyInfo}) ->
end,
CipherSuite = case ssl:str_to_suite(binary_to_list(Cipher)) of
#{} = CS -> CS;
_ -> ssl_info(Sock)
_ -> nossl
end,
case {Proto, CipherSuite} of
{nossl, _} -> ssl_info(Sock);