Skip to content

Commit 2ad0d0f

Browse files
committed
Relax sslsocket check (OTP28 changed sslsocket structure)
1 parent 1ded509 commit 2ad0d0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

deps/rabbit_common/src/rabbit_net.erl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
-define(SSL_CLOSE_TIMEOUT, 5000).
8383

8484
-define(IS_SSL(Sock), is_tuple(Sock)
85-
andalso (tuple_size(Sock) =:= 3)
8685
andalso (element(1, Sock) =:= sslsocket)).
8786

8887
is_ssl(Sock) -> ?IS_SSL(Sock).

0 commit comments

Comments
 (0)