Commit Graph

3841 Commits

Author SHA1 Message Date
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
terry-xiaoyu
5867b2e763 Fix idle_timeout crash 2019-07-11 09:17:23 +08:00
terry-xiaoyu
6ab9527603 Optimize to_map for performance 2019-07-05 23:14:27 +08:00
Gilbert
70be888f3b Compat windows (#2665) 2019-07-05 23:10:13 +08:00
周子博
61d64cbb83 Fix the issue that emqx_session:attrs/1 returns wrong value 2019-07-05 22:54:57 +08:00
Feng Lee
f4a753f683 Remove the debug print of batch deliver 2019-07-02 14:50:13 +08:00
Feng Lee
8c37ea3f38 Fix conflict 2019-07-02 14:02:42 +08:00
Feng Lee
42da51e1c5 Implement batch delivery for the new channel design
- Implement a new emqx_channel module
- Improve the emqx_frame:serialize/2 API
- Improve the emqx_connection, emqx_ws_connection modules
2019-07-02 13:40:52 +08:00
Feng Lee
177dc44155 Define 'Otherwise' macro 2019-07-02 13:39:23 +08:00
周子博
8234b616e5 Fix test case 2019-06-29 12:38:57 +08:00
周子博
3ad5700442 Support getting the history of alarms 2019-06-29 12:38:57 +08:00
terry-xiaoyu
96fff39535 Change default logger level to warning 2019-06-28 21:34:21 +08:00
terry-xiaoyu
0e2e4e73ca Clean staled sesssions 2019-06-26 20:04:32 +08:00
Gilbert
9df6345a6c Remove bridge functions from emqx (#2652)
* Remove bridge functions from emqx
2019-06-26 19:33:17 +08:00
tradingtrace
0b116bc208 Fix the massages order when batch dispatching 2019-06-26 19:32:15 +08:00
Feng Lee
9ee0a4d171 Fix the function_clause error when publishing QoS2 message 2019-06-25 17:35:58 +08:00
Feng Lee
67b7266438 Rename TimerInterval to Interval 2019-06-25 15:58:09 +08:00
Feng Lee
f32a415a83 Merge branch 'channel3' 2019-06-25 15:55:31 +08:00
GilbertWong
22f7280d8e Make sure the default make behaviour is make distclean 2019-06-25 15:27:05 +08:00
Feng Lee
4974eab20e Improve the channel design 2019-06-25 14:53:45 +08:00
Feng Lee
c4eb283517 Add spec for validate/1 function 2019-06-25 14:50:51 +08:00
Feng Lee
242a1ae453 Use emqx_mqtt:qos() type 2019-06-25 14:47:42 +08:00
Feng Lee
72331d8ad0 Move emqx_mqtt_types module to emqx_mqtt 2019-06-25 14:46:21 +08:00
Feng Lee
fb54fe0fad Improve export_type attr 2019-06-25 14:45:23 +08:00
Feng Lee
795fe4e0bc Add 'PUBLISH_PACKET(QoS, Topic, PacketId)' macro 2019-06-25 14:29:26 +08:00