Commit Graph

3665 Commits

Author SHA1 Message Date
Feng Lee
f8e28e39ed Improve the channel modules and fix the extension mods 2019-08-02 18:04:38 +08:00
Feng Lee
32795321f5 Improve the rewrite mod using the new hooks 2019-08-02 11:14:42 +08:00
Feng Lee
cf9caf3c32 Add conn/0 type 2019-08-02 11:14:42 +08:00
Feng Lee
2fdda99d6d Improve the pipeline design of protocol and session 2019-08-02 11:14:42 +08:00
周子博
ef9cbe51eb Fix conflict 2019-08-02 10:41:46 +08:00
周子博
a98835279d Merge branch 'rm-emqx-client-hrl' into develop 2019-08-02 10:31:49 +08:00
周子博
0cdb0d5591 Remove all dependencies on emqx_client.hrl 2019-08-02 10:20:09 +08:00
Feng Lee
c95a89ed1e Merge branch 'nchannel' into develop 2019-07-31 14:03:48 +08:00
Feng Lee
0a6468cf48 Introduce the 'pipeline' design pattern
- Introduce the 'pipeline' design pattern in emqx_protocol module
- Reame the '{dispatch, ...' to '{deliver, ...' in emqx_broker module
- Rename type 'credentials' to 'client'
2019-07-31 08:09:47 +08:00
Feng Lee
b32156bd68 Rename the type 'credentials' to 'client' 2019-07-31 08:08:11 +08:00
Feng Lee
41dfbd4165 Add 'packets.pubrec.inuse' counter 2019-07-30 19:12:42 +08:00
Feng Lee
c880668419 Register channel in this module 2019-07-30 19:11:21 +08:00
Feng Lee
51fb4e33d6 Rename 'Credentials' to 'Client' 2019-07-30 19:10:38 +08:00
Feng Lee
c55ada3526 Improve the types 2019-07-27 23:24:38 +08:00
Feng Lee
d99c9daf76 Replace credentials with client 2019-07-27 23:22:02 +08:00
Feng Lee
32b2a01d68 Fix function_clause error and improve ws channel 2019-07-26 00:18:25 +08:00
Feng Lee
64148ac0e8 Improve the 'info/1', 'attrs/1' and 'stats/1' APIs 2019-07-25 09:26:36 +08:00
Feng Lee
b4a0a1c228 Fix whitespace 2019-07-25 09:26:02 +08:00
Feng Lee
5b3a61b799 Merge the connection and session tabs into channel tab 2019-07-25 09:25:45 +08:00
Feng Lee
a0a2375810 Update the .app file 2019-07-25 09:25:00 +08:00
Feng Lee
2de4bb0b8f Improve the channel modules and add 'attrs/1' API 2019-07-25 09:24:10 +08:00
GilbertWong
07d815b3f7 Update gen_rpc tag to 2.4.0 2019-07-23 14:45:24 +08:00
Feng Lee
c091e89796 Remove the unnecessary include/emqx_client.hrl 2019-07-23 10:56:14 +08:00
Feng Lee
6b84eb0595 Rewrite the channel, protocol and session modules. 2019-07-22 17:08:53 +08:00
Feng Lee
a6262ffb30 Remove the 'rc' field from DEFAULT_SUBOPTS 2019-07-22 17:07:58 +08:00
terry-xiaoyu
0569388f0f Fix websocket still send willmsg even after disconnect is received 2019-07-20 19:02:49 +08:00
terry-xiaoyu
4559b5023e Fix heartbeat interval 2019-07-20 16:20:53 +08:00
terry-xiaoyu
721e7c4804 Fix session termiated without ws_channel 2019-07-20 14:24:15 +08:00
terry-xiaoyu
0c54d899da Trap and handle exit in channel and ws_channel 2019-07-20 13:19:13 +08:00
Gilbert
05b660ff50 Unlink session when exit message has been forwarded to session (#2703)
* Unlink session when exit message has been forwarded to session

* Readjust possition of emqx_protocol:session
2019-07-20 13:05:34 +08:00
turtled
49afbdabda Update ekka tag 2019-07-19 18:03:53 +08:00
turtled
01f8ce1dc7 Add default k8s.suffix 2019-07-19 18:03:53 +08:00
turtled
caf6dab808 Support K8S hostname auto discovery cluster 2019-07-19 18:03:53 +08:00
GilbertWong
eb68ce77b6 Fix the ws channel terminating crash when session pid is undefined 2019-07-19 17:36:50 +08:00
GilbertWong
391e39c3b6 Disable the useless error log info 2019-07-19 17:36:50 +08:00
GilbertWong
0c14484b0a Disable the useless error log info 2019-07-19 17:36:50 +08:00
GilbertWong
953d320667 Implement better websocket exit mechanism 2019-07-19 17:36:50 +08:00
terry-xiaoyu
86333802b9 Add configuration for sys_heartbeat 2019-07-19 17:33:24 +08:00
GilbertWong
4603ea17ef Better gen_rpc performance 2019-07-19 17:31:15 +08:00
GilbertWong
eb7ae13ae9 Better exit reason in websocket channel 2019-07-16 01:33:15 +08:00
GilbertWong
1fc0f61fbb Fix the websocket normal exit bug 2019-07-16 01:09:42 +08:00
Feng Lee
7b27d49a40 Add new metric 'channel.gc.cnt' 2019-07-14 08:59:38 +08:00
Feng Lee
dfa2c2370e Define 'Otherwise' macro 2019-07-13 12:25:25 +08:00
GilbertWong
c23be3e15d Update ekka tag 2019-07-11 15:41:36 +08:00
terry-xiaoyu
7472e531b1 Remove log handler for alarms 2019-07-11 13:27:03 +08:00
terry-xiaoyu
1bf68f4807 Change clear alarms to info log 2019-07-11 11:15:23 +08:00
GilbertWong
bf89646d93 Fix typo 2019-07-11 09:43:52 +08:00
GilbertWong
234037aee1 Fix will message mechanism for websocket channel 2019-07-11 09:43:52 +08:00
GilbertWong
c13e194838 Fix the check_subacl bug when enable_acl is set to false 2019-07-11 09:25:20 +08:00
GilbertWong
41dcb4acf2 Delete slave.config 2019-07-11 09:20:38 +08:00