Feng Lee
bd8b446a54
Merge pull request #938 from emqtt/pbkdf2
...
Support pbkdf2 hash
2017-03-10 08:21:14 +08:00
huangpengju
b5ff80499a
Update emqttd_auth_mod.erl
2017-03-09 09:29:31 +08:00
huangpengju
78b0f66910
Update Makefile
2017-03-09 09:29:03 +08:00
huangpengju
25c25826a7
Update Makefile
2017-03-09 09:28:28 +08:00
huangpj
fba79b3e25
support pbkdf2
2017-03-08 18:01:59 +08:00
Feng Lee
e008d149d3
Update comments and misc fix
2017-03-06 18:57:29 +08:00
Feng Lee
7c90e08f57
Fix the subscrptions print
2017-03-06 18:48:29 +08:00
Feng Lee
14d28d59bd
Rename the 'Timestamp' variable to 'TS'
2017-03-06 18:47:50 +08:00
Feng Lee
f2a818a4a4
Rename the PUBSUB macro to PS
2017-03-06 18:46:09 +08:00
Feng Lee
dae3d22bef
Remove the io:format line
2017-03-06 18:43:44 +08:00
Feng Lee
99c83dbe21
Add 'mqtt.listener.tcp.tune_buffer' config
2017-03-06 18:28:16 +08:00
Feng Lee
35e08df735
Change the default QoS of will message to QOS_1
2017-03-06 18:17:07 +08:00
Feng Lee
c3919a64e6
Format 'trie_node' record
2017-03-06 18:13:07 +08:00
Feng Lee
98e15ebbf4
Prepare for MQTT/5.0
2017-03-06 18:11:09 +08:00
Feng Lee
3d0bc15e93
Use the '?assertEqual' macro and update Copyright info
2017-03-06 18:06:15 +08:00
huangdan
4de8c0921e
Add test case
2017-03-04 16:23:13 +08:00
turtleDeng
80a7cbf09e
Merge pull request #930 from buxizhizhoum/master
...
Edit the note of tick timer
2017-03-04 11:47:34 +08:00
buxizhizhoum
93719a13f3
Edit the note of tick timer
2017-03-03 22:05:26 +08:00
Feng Lee
c412f6d5ed
Merge pull request #920 from phanimahesh/master
...
Please add src/emqttd.app.src
2017-02-27 23:57:42 +08:00
J Phani Mahesh
a71a061305
add app.src,rebar.lock, ignores for rebar3
...
Having src/emqttd.app.src allows rebar family of build tools
(rebar2, and rebar3) to be used to compile emqttd. This is important
to allow plugins to be written using rebar3, to lock dependencies.
rebar.lock contains references to commits or hashes of dependencies
and is used by rebar3 to allow repeatable builds.
This is important since without it, updates to dependencies are
silently pulled and it is impractical to replicate a build properly.
However, this adds an additional maintenance effort. Periodically,
the lock file must be updated using rebar3 upgrade, and app.src
must be updated when adding new dependencies.
Note that erlang.mk does not respect dependency locking currently,
and does not benefit from rebar.lock.
_build is used by rebar3 and mix for storing built artifacts.
2017-02-27 14:19:04 +05:30
Feng
53572b7d37
Fix the comments of mqtt.session.* configurations
2017-02-24 20:38:35 +08:00
huangdan
71eaf285f7
Merge branch 'master' into windows
2017-02-24 11:06:03 +08:00
Feng Lee
331d016c8e
Merge pull request #917 from emqtt/emq20
...
V2.1.0-beta.1: Tune the CPU/Memory usage of Client/Session Processes
2017-02-23 23:26:13 +08:00
Feng
1e91c0e220
Format code
2017-02-23 23:01:20 +08:00
Feng
440011da9a
Rename 'Pkt' to 'PktCnt', 'Msg' to 'MsgCnt'
2017-02-23 23:00:55 +08:00
Feng
9309baf17c
Rename mqtt_msgid() type to mqtt_msg_id()
2017-02-23 22:59:26 +08:00
Feng Lee
edd99dc5ed
Disable the force GC if conn_force_gc_count = 0
2017-02-23 18:53:16 +08:00
Feng Lee
1e36750288
Use emqttd_gc:reset_conn_gc_count/2 API
2017-02-23 17:40:50 +08:00
Feng Lee
5ef4fce141
Handle the {ok, I} return
2017-02-23 17:26:29 +08:00
Feng Lee
e972103f74
Fix the 'spawn_opt' options
2017-02-23 17:25:44 +08:00
Feng Lee
73847b96fc
Add 'FULLSWEEP_OPTS' macro
2017-02-23 17:16:55 +08:00
Feng Lee
7d65ad42ad
Add '[{fullsweep_after, 10}]' opts and 'force_gc_count' to tune the memory usage
2017-02-23 16:56:16 +08:00
Feng Lee
124aa454fb
Add 'mqtt.conn.force_gc_count' config to tune GC of MQTT connection
2017-02-23 16:53:47 +08:00
Feng Lee
ab76e7978b
Add emqttd_gc module
2017-02-23 16:53:09 +08:00
Feng Lee
2d9dbe4729
Support to hook 'tag' function
2017-02-23 11:55:52 +08:00
Feng
365bfb9e80
Replace emqttd_misc:inc_stats/1 with inc_stats/1
2017-02-22 23:08:22 +08:00
Feng
239cf1b5fc
Add '{backoff, 1000, 1000, 10000}' to return of init/1
2017-02-22 23:07:27 +08:00
Feng
b8084f2989
Remove inc_stats/1 function
2017-02-22 22:24:23 +08:00
Feng Lee
5d5de51f89
Change the gen_server:start_link to gen_server2
2017-02-22 18:47:14 +08:00
Feng Lee
5543b72243
Force to GC the Websocket Process
2017-02-22 18:41:02 +08:00
Feng Lee
f955614f9d
Remove the io:format line
2017-02-22 18:40:17 +08:00
Feng Lee
39abdb8b41
Remove 'enable_stats' from 'INFO_KEYS', and remove io:format line
2017-02-22 17:52:55 +08:00
Feng Lee
8e7ea09cbd
Tune the mqtt.client|session.enable_stats off
2017-02-22 17:34:00 +08:00
Feng Lee
03e6c8b64c
Version 2.1.0
2017-02-22 17:33:25 +08:00
Feng Lee
05e34fe783
Move the 'cuttlefish' library from TEST_DEPS to BUILD_DEPS
2017-02-22 16:19:49 +08:00
Feng Lee
7d16422d5c
Require R19+ to build since 2.1 release
2017-02-22 15:56:12 +08:00
Feng Lee
88c2b4eaa3
Use the new emqttd_parser API to parse Websocket frame
2017-02-22 15:43:24 +08:00
Feng Lee
b4936726fd
Remove the random:seed/1 to fix the build warnings
2017-02-22 15:36:06 +08:00
Feng Lee
088adeda3b
Fix issue #916 - add 'mqtt_msg_from()' type
2017-02-22 14:11:10 +08:00
Feng
f4c4e5635c
Improve the 'enable_stats' design of client, session
2017-02-22 12:10:52 +08:00