Feng Lee
ca8e7e6423
Merge branch 'develop' into emq20
2017-03-29 17:39:36 +08:00
Feng Lee
43207f86ea
Use stop/2 to count the shutdown reasons
2017-03-29 17:38:43 +08:00
Feng Lee
9240a0355a
Fix issue #963 - shutdown if session process exited
2017-03-29 16:36:17 +08:00
Feng Lee
300bfce372
Merge pull request #964 from emqtt/develop
...
Fix issue #963 - shutdown if session process exited
2017-03-29 16:31:51 +08:00
J Phani Mahesh
2f01400f38
correct licence in app.src
2017-03-24 15:58:51 +05:30
Feng Lee
2e6e97b006
Fix the syntax error
2017-03-13 16:30:41 +08:00
Feng Lee
82bb7766ac
Add env, maintainers, licenses properties
2017-03-13 15:55:00 +08:00
Feng Lee
d099d0b53c
Add emqttd_gc:maybe_force_gc/3 API and tune the min hibernate interval
2017-03-13 15:36:58 +08:00
Feng Lee
05396f0ade
Add pbkdf2 dependencies and fix the building errors
2017-03-13 13:30:49 +08:00
Feng Lee
90e46325df
Fix the crash caused by keepalive:start/3
2017-03-13 12:42:02 +08:00
Feng Lee
bb91bc04c6
Merge pull request #941 from callbay/issue#935
...
Fix Issue#935
2017-03-13 11:41:22 +08:00
Frank Feng
6472457342
Match {error,einval}
2017-03-12 23:06:57 +08:00
huangpengju
61a71e7559
update emqttd_auth_mod.erl code format
2017-03-12 11:49:26 +08:00
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
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
buxizhizhoum
93719a13f3
Edit the note of tick timer
2017-03-03 22:05:26 +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
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 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
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
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
f4c4e5635c
Improve the 'enable_stats' design of client, session
2017-02-22 12:10:52 +08:00
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 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