diff --git a/apps/emqx/src/emqx_channel.erl b/apps/emqx/src/emqx_channel.erl index 8669aea8e..e4d04cf6b 100644 --- a/apps/emqx/src/emqx_channel.erl +++ b/apps/emqx/src/emqx_channel.erl @@ -1996,6 +1996,8 @@ trim_conninfo(ConnInfo) -> %% NOTE %% We remove the peercert because it duplicates what's stored in the socket, %% otherwise it wastes about 1KB per connection. + %% Retrieve with: esockd_transport:peercert(Socket). + %% Decode with APIs exported from esockd_peercert and esockd_ssl peercert ], ConnInfo