Skip to content

Commit 14e1a53

Browse files
Merge pull request #3371 from processone/3175-fixup
Fix some edge cases in handling ssl information from PROXY protocol
2 parents 47a3531 + 6af4152 commit 14e1a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit_common/src/rabbit_net.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ proxy_ssl_info(Sock, {rabbit_proxy_socket, _, ProxyInfo}) ->
112112
end,
113113
CipherSuite = case ssl:str_to_suite(binary_to_list(Cipher)) of
114114
#{} = CS -> CS;
115-
_ -> ssl_info(Sock)
115+
_ -> nossl
116116
end,
117117
case {Proto, CipherSuite} of
118118
{nossl, _} -> ssl_info(Sock);

0 commit comments

Comments
 (0)