Commit Graph

4500 Commits

Author SHA1 Message Date
Feng Lee 6e8635394e Use map to replace #state{} record 2018-08-27 10:25:15 +08:00
turtled 95d36d0204 Fix share sub bug 2018-08-27 10:15:41 +08:00
turtled 1448515e64 Fix websocket bug 2018-08-27 10:14:58 +08:00
Feng Lee 3ba8c90864
Merge pull request #1744 from terry-xiaoyu/emqx_30_acl_cache_v2
ACL Cache v2 for EMQ X R30
2018-08-27 09:43:08 +08:00
Feng Lee 5f65335835
Merge branch 'emqx30' into emqx_30_acl_cache_v2 2018-08-27 09:42:42 +08:00
Feng Lee 3f811aa9ca Add credentials/1 function 2018-08-27 09:28:49 +08:00
HuangDan e3fb147594 Fixed test case compilation error 2018-08-26 22:25:54 +08:00
Gilbert Wong a369fb6960 fix subscribe bug 2018-08-26 22:02:39 +08:00
terry-xiaoyu 9d29dd0e10 use config enable_acl_cache 2018-08-26 18:25:17 +08:00
Feng Lee 397179bbda Merge branch 'emqx30' of github.com:emqtt/emqttd into emqx30 2018-08-26 16:25:02 +08:00
Feng Lee 0e3728c940 Add emqx_types module and 'credentials' type 2018-08-26 16:24:51 +08:00
terry-xiaoyu 9717f9b83e add module emqx_acl_cache 2018-08-26 15:46:22 +08:00
terry-xiaoyu 8cd20744be improve cache datastruct using keys-queue 2018-08-26 13:33:00 +08:00
terry-xiaoyu a904031979 acl cache using proc_dict 2018-08-26 13:30:18 +08:00
terry-xiaoyu 737fe19331 update acl test cases 2018-08-26 12:48:32 +08:00
Gilbert Wong ee11627828 delete duplicated subscribe function 2018-08-25 18:36:17 +08:00
周子博 6b45834de4 Add emqx_cm, emqx_metrics, emqx_stats test suites 2018-08-25 18:13:49 +08:00
Feng Lee 4e674cf132
Merge pull request #1742 from emqtt/emqx30-dev
fix list_to_subid error
2018-08-25 17:34:00 +08:00
Gilbert Wong 8b4be236e5 fix list_to_subid error 2018-08-25 17:10:51 +08:00
Feng Lee 03d2d24949 Merge branch 'emqx30-dev' into emqx30 2018-08-25 16:20:09 +08:00
Feng Lee 51ea864526 Merge branch 'emqx30-dev' of github.com:emqtt/emqttd into emqx30-dev 2018-08-25 16:19:14 +08:00
Feng Lee 36129073e8 Merge branch 'emqx30-dev' of github.com:emqtt/emqttd into emqx30-dev 2018-08-25 16:08:27 +08:00
Feng Lee b7c2821326 Make reason codes of SUBACK be compatible with MQTT V3.1.1 2018-08-25 16:07:57 +08:00
Feng Lee c2c1320083 Update compat/2 for suback reason codes 2018-08-25 16:05:58 +08:00
Feng Lee 612c88e71e Add 'rc' and 'subid' fields 2018-08-25 16:04:21 +08:00
Feng Lee 1aee05ce16 Fix unsubscribe bug 2018-08-25 16:03:28 +08:00
Feng Lee 4af6065984 For paho interoperability tests 2018-08-25 16:02:44 +08:00
turtled 892483891a Merge branch 'emqx30-dev' of https://github.com/emqtt/emqttd into emqx30-dev 2018-08-25 14:32:48 +08:00
turtled fc0f57073d Fix share sub dispatch fail 2018-08-25 14:32:32 +08:00
Feng Lee 5f42f88401 Pass paho zero_length_clientid test case 2018-08-25 11:51:36 +08:00
Feng Lee b10f49b52c Add CONNACK macros for MQTT V3.1.1 2018-08-25 11:49:19 +08:00
Gilbert Wong 146710a394 fix makefile error 2018-08-25 10:36:46 +08:00
Feng Lee 619d39b2fb Merge branch 'emqx30-dev' into emqx30 2018-08-25 09:30:58 +08:00
Feng Lee 6e325034e9 Update TODO 2018-08-25 09:30:38 +08:00
Feng Lee 68cfcf6e0e Pass paho mqtt interoperability tests 2018-08-24 23:19:11 +08:00
Feng Lee 694485252a Merge branch 'emqx30-dev' of github.com:emqtt/emqttd into emqx30-dev 2018-08-24 18:43:36 +08:00
Feng Lee 0f052ce352 Upgrade connection, protocol and session modules for MQTT 5.0 2018-08-24 18:39:59 +08:00
turtled 36647b641f Fix select emqx_shared_subscription fail 2018-08-24 11:38:54 +08:00
Feng Lee cae09fb815
Merge pull request #1738 from emqtt/emqx30-dev
Merge emqx30-dev to emqx30
2018-08-23 17:53:41 +08:00
Gilbert 94d326f398
Merge pull request #1734 from gotthardp/send_client_pid
Send client_pid to distinguish multiple clients
2018-08-20 20:48:01 +08:00
Petr Gotthard d4176461ff Send client_pid to distinguish multiple clients
When a controlling process starts multiple clients that make multiple
subscriptions it may be desirable to identify from which client a
message is comming from. The topic id may not be sufficient.
2018-08-20 11:58:19 +02:00
turtled 22e8b07a3d Receive/send messages by bridge 2018-08-19 20:31:44 +08:00
Feng Lee c9d604ed02 Fix the badmatch error of packet_to_msg/1 2018-08-13 16:49:53 +08:00
Feng Lee 9145fb9ec8 Use os:timestamp/1 to get now millseconds 2018-08-12 19:14:14 +08:00
Feng Lee f80cd2d986 Improve the MQTT over Websocket connection 2018-08-11 17:57:19 +08:00
Gilbert Wong 3d05954d5b Optimize emqx_time module 2018-08-11 16:17:39 +08:00
Feng Lee bc8302dae9 Change default value of max_mqueue_len to 1000 2018-08-10 15:39:24 +08:00
Feng Lee 6ab489a9b5 Change the MAX_CLIENTID_LEN to 65535 2018-08-10 15:38:08 +08:00
Feng Lee d9004d4cfb Add MQTT section in configuration file 2018-08-10 12:43:32 +08:00
turtled d516b8c241 mochiweb -> cowboy 2018-08-09 15:19:45 +08:00