Merge pull request #8937 from zmstone/fix-revert-some-dialyzer-changes

fix: revert 'accepted' state of exproto plugin
This commit is contained in:
Zaiming (Stone) Shi 2022-09-09 15:00:48 +02:00 committed by GitHub
commit 9e4cebd192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@
-opaque(channel() :: #channel{}). -opaque(channel() :: #channel{}).
-type(conn_state() :: idle | connecting | connected | disconnected). -type(conn_state() :: idle | connecting | connected | disconnected | accepted).
-type(reply() :: {outgoing, binary()} -type(reply() :: {outgoing, binary()}
| {outgoing, [binary()]} | {outgoing, [binary()]}
@ -159,7 +159,7 @@ init(ConnInfo = #{socktype := Socktype,
Channel = #channel{gcli = #{channel => GRpcChann}, Channel = #channel{gcli = #{channel => GRpcChann},
conninfo = NConnInfo1, conninfo = NConnInfo1,
clientinfo = ClientInfo, clientinfo = ClientInfo,
conn_state = idle, conn_state = accepted,
timers = #{} timers = #{}
}, },
case emqx_hooks:run_fold('client.connect', [NConnInfo], #{}) of case emqx_hooks:run_fold('client.connect', [NConnInfo], #{}) of