Commit Graph

16280 Commits

Author SHA1 Message Date
Feng 700ec7aaef Add 'proto_stats' record 2017-02-22 10:01:39 +08:00
Feng 6c50a59cad Rename macro 'MAX_PACKET_LEN' to 'MAX_PACKET_SIZE' 2017-02-22 00:32:22 +08:00
Feng 418fb37ca0 Add max_packet_size() type 2017-02-22 00:31:47 +08:00
Feng d33a41b28b Remove unused fields: connname, peerhost, peerport 2017-02-22 00:31:09 +08:00
Feng 62a0eaf65d Fix the test cases for emqttd_parser 2017-02-21 23:02:10 +08:00
Feng Lee 17953a4716 Rename 'MAX_LEN' to 'MAX_PACKET_LEN' 2017-02-21 20:11:09 +08:00
Feng Lee 4d2d6fa0d6 Change the default max_len to infinity 2017-02-21 20:10:38 +08:00
Feng Lee 7e98650233 Improve the emqttd_parser design 2017-02-21 20:10:17 +08:00
Feng Lee de12c58af0 Rename 'MAX_LEN' to 'MAX_PACKET_LEN' 2017-02-21 20:09:31 +08:00
Feng Lee 498915e5b3 Hibernate after a packet sent 2017-02-21 19:26:50 +08:00
Feng Lee d310fff532 Add 'lager_syslog' dependency 2017-02-21 18:46:44 +08:00
Feng Lee ff60578a7d Change the datatype of 'enable_stats' to 'flag' 2017-02-21 18:46:10 +08:00
Feng Lee 3cdf2377c8 Use gen_server2 to reduce the CPU/memory usage 2017-02-21 18:45:40 +08:00
Feng Lee b8fb73576e Merge branch 'master' into emq20 2017-02-21 16:24:13 +08:00
turtled 9468f71c2f create windows branch 2017-02-20 19:21:28 +08:00
Feng Lee cabd1af23a Hiberate after subscribe, unsubscribe and resume 2017-02-20 16:45:53 +08:00
Feng Lee e88c3f0761 Merge pull request #912 from emqtt/emq20
Support 'acl reload' CLI
2017-02-18 15:11:45 +08:00
Feng Lee 44ea90fa20 Merge pull request #911 from emqtt/develop
Fix #885 - support 'acl reload' cli
2017-02-18 15:09:55 +08:00
turtled a7ed2c402b fix #885 2017-02-18 15:03:41 +08:00
Feng Lee 79217fdade Remove the 'infinity' timeout 2017-02-18 14:14:24 +08:00
Feng Lee 858dc1a5af Merge pull request #909 from emqtt/emq20
Add emq_retainer, emq_modules plugins
2017-02-17 17:13:21 +08:00
huangdan 87d62970d3 Merge branch 'develop' of https://github.com/emqtt/emqttd into develop 2017-02-17 17:12:51 +08:00
huangdan 4a41d005cb Fix tests 2017-02-17 17:12:27 +08:00
Feng Lee 8f702babbe Add emq_retainer, emq_modules plugins 2017-02-17 16:56:04 +08:00
Feng Lee 49f06e83fe Merge pull request #908 from emqtt/develop
Add emq_retainer, emq_modules plugins
2017-02-17 16:54:05 +08:00
Feng Lee a5a94d2fb3 Merge pull request #905 from emqtt/emq20
Version 2.1 - Improve the design of Session and Inflight
2017-02-17 13:06:26 +08:00
Feng Lee 726f829df5 Fix the error caused by emqttd:env/1 2017-02-16 18:59:53 +08:00
Feng Lee 269cef2c1b Merge pull request #903 from emqtt/develop
Add lager syslog
2017-02-16 18:59:39 +08:00
turtled 5419266724 emqttd_hook -> emqttd_hooks, syslog 2017-02-16 18:33:57 +08:00
Feng Lee e385556364 Merge pull request #902 from emqtt/develop
Version 2.1 - Improve the design of session/inflight and update copyright
2017-02-16 14:15:23 +08:00
Feng Lee fde1f92bf2 Fix format of CT_SUITES 2017-02-16 11:49:59 +08:00
Feng Lee a5ba86fd1a Update rebar.config 2017-02-16 11:46:21 +08:00
Feng Lee bad855bdd9 Improve the session design, support tune_qos, enable_stats 2017-02-16 11:46:06 +08:00
Feng Lee a345b3682b Rename emqttd_hook to emqttd_hooks 2017-02-16 11:39:48 +08:00
Feng Lee 45a379f112 Replace 'size/1' with 'byte_size/1', serialize to output iolist 2017-02-16 11:38:40 +08:00
Feng Lee d69d769797 Upgrade copyright info 2017-02-16 11:36:57 +08:00
Feng Lee 78c8856eda Update copyright info 2017-02-16 11:36:24 +08:00
Feng Lee fa8882b499 Support client, session stats 2017-02-16 11:36:08 +08:00
Feng Lee d91e49a5a5 Change the restart strategy of the top supervisor 2017-02-16 11:35:33 +08:00
Feng Lee d5ac9f0dcb Update protocol_name/1, type_name/1 functions for MQTT 5 2017-02-16 11:33:50 +08:00
Feng Lee bbbfafb759 Update protocol_name/1, type_name/1 functions for MQTT 5 2017-02-16 11:33:27 +08:00
Feng Lee 67566ca372 Add dropped/1 function 2017-02-16 11:32:24 +08:00
Feng Lee a5ac32b49b add 'packets/puback/missed', 'packets/pubrec/missed', 'packets/pubrel/missed', 'packets/pubcomp/missed' metrics 2017-02-16 11:31:46 +08:00
Feng Lee 6b22fb0a0c Remove the 'DOWN' client from emqttd_stats 2017-02-16 11:30:43 +08:00
Feng Lee 2021667021 Add 'local_session/0 function, change reg_session/3 unreg_session/1 functions 2017-02-16 11:29:55 +08:00
Feng Lee 5a49196a07 Update copyright info and format code 2017-02-16 11:28:35 +08:00
Feng Lee a54076cf0a Change the 'Env' 2017-02-16 11:25:44 +08:00
Feng Lee 90ff296ebe Improve the module and support statistics 2017-02-16 11:25:10 +08:00
Feng Lee 23e49c317d Improve the module and support statistics 2017-02-16 11:24:46 +08:00
Feng Lee dbcd79fb74 Move the 'MQTT_SOCKOPTS' macro to include/emqttd_protocol.hrl 2017-02-16 11:22:48 +08:00