Commit Graph

3908 Commits

Author SHA1 Message Date
Feng Lee
6f30dca4ba Add more option APIs 2019-11-01 08:10:26 +08:00
Feng Lee
d256387cee Ensure the 'inc_sent/1', 'inc_recv/1' to return 'ok' 2019-11-01 08:09:45 +08:00
Feng Lee
30adfc18e6 Remove 'gc_state' and 'pub_stats' from channel's state 2019-11-01 08:08:38 +08:00
Feng Lee
605a03453e Remove the 'emqx_time' module and use 'erlang:system_time/1' 2019-11-01 08:07:34 +08:00
Feng Lee
223163d5b9 Remove the 'emqx_oom' module 2019-11-01 08:00:35 +08:00
Feng Lee
4c9dda105f Add 'active_n' option for WebSocket listener 2019-11-01 08:00:11 +08:00
Feng Lee
ebef0ec554 Add zone_options module 2019-10-28 07:51:09 +08:00
Feng Lee
d5412c8d34 Merge branch 'gen-ct' into develop 2019-10-23 16:36:17 +08:00
Feng Lee
7be110cdef Add more test cases 2019-10-23 16:35:15 +08:00
terry-xiaoyu
9aef5d60e0 Fix testcase for logger_formatter 2019-10-23 10:26:25 +08:00
turtled
1dfbe8e166 Fix WS badmatch 2019-10-22 09:11:42 +08:00
Feng Lee
fca7a7e761 Merge branch 'connection-test-using-meck' into develop 2019-10-21 19:53:53 +08:00
terry-xiaoyu
cb77b229b8 Add testcase for emqx_logger_formatter 2019-10-21 18:35:32 +08:00
Feng Lee
7117dde879 Add more test cases for connection, channel and session modules 2019-10-21 17:14:50 +08:00
Feng Lee
26eab630b3 Add test cases for emqx_channel module 2019-10-20 19:20:38 +08:00
Feng Lee
aecda09b9a Add more test cases 2019-10-19 20:18:34 +08:00
Feng Lee
cd4adbada0 Add more test cases for connection, channel and session modules 2019-10-18 18:53:31 +08:00
Feng Lee
a0e72fd040 Breaking change of listener's rate_limit config 2019-10-18 18:52:57 +08:00
Feng Lee
a09b87fc94 Add more test cases for connecton module using meck 2019-10-15 17:28:20 +08:00
Feng Lee
53dda48833 Fix the 'function_clause' error when session is undefined 2019-10-14 17:01:41 +08:00
Feng Lee
a1877f3f42 Return the '{enter, connected}' event first 2019-10-14 13:04:49 +08:00
Feng Lee
6233aa7d46 Ensure the 'conn_state' be 'disconnected' after socket closed 2019-10-12 19:14:33 +08:00
terry-xiaoyu
7f730ffec6 Revert client_id options in the testcases 2019-10-12 18:05:34 +08:00
Feng Lee
932821360f Merge branch 'new-connection-module' into develop 2019-10-12 17:08:48 +08:00
Feng Lee
cce0dbd3cf Improve the connection, ws_connection and channel modules 2019-10-12 17:05:37 +08:00
Feng Lee
8c1e452b6e Add 'hibernate_after' option for zone 2019-10-12 16:56:18 +08:00
terry-xiaoyu
54e11d3bb5 Fix client_id options in testcases 2019-10-12 15:10:49 +08:00
terry-xiaoyu
47a192ee34 Avoid process crash report for arbitrary exit reason 2019-10-12 14:48:39 +08:00
terry-xiaoyu
ebea3cc392 Defend the ssl upgrade failure 2019-10-12 09:34:28 +08:00
zhouzb
7512d6cb03 Check topic level for publish packet and optimize the handling of rap 2019-10-12 09:33:47 +08:00
Feng Lee
0c37c65a59 Add a new type 'sockstate/0' 2019-10-10 13:59:34 +08:00
Feng Lee
d50c0088d2 Add a new type 'sockstate/0' 2019-10-10 13:57:20 +08:00
Feng Lee
e718fa8249 Rewrite the 'emqx_connection' module using a raw erlang process 2019-10-08 17:59:11 +08:00
Feng Lee
e61173e9bc Add TODO 2019-10-06 18:07:42 +08:00
zhouzb
d004a5b68e Rename 'client_id' field to 'clientid' 2019-09-29 16:46:27 +08:00
zhouzb
ddd68e600d Fix missing cases 2019-09-29 15:32:53 +08:00
Feng Lee
fe2a72c664 Add 'state' field to channel info 2019-09-29 11:47:31 +08:00
Feng Lee
e8491b69a9 Merge branch 'clientinfo' into develop 2019-09-29 11:00:24 +08:00
Feng Lee
977b551bbf Fix the test cases for session, channel and connection modules 2019-09-29 10:53:59 +08:00
Feng Lee
8ab682151d Improve the connection and channel modules
- Rename the 'client_id' field to 'clientid'
- Support publish stats in channel module
- Update test cases for frame and channel modules
2019-09-29 10:22:02 +08:00
tigercl
9fed1667bb
Merge pull request #2921 from emqx/ct-metrics
Add test cases for new/1, all/0 functions
2019-09-29 09:59:59 +08:00
Feng Lee
fcb1b83495 Rename the 'client_id' option to 'clientid' 2019-09-28 10:06:16 +08:00
Feng Lee
7b1a80c265 Rename 'mailbox_len' to 'message_queue_len' 2019-09-27 20:26:54 +08:00
Feng Lee
89b03eb9a6 Add function specs 2019-09-24 17:08:06 +08:00
Feng Lee
609f442ea9 Add function 'get_counters/1' 2019-09-24 17:07:32 +08:00
Feng Lee
20ddd498fc Rename the 'client_id' field to 'clientid' 2019-09-24 17:06:25 +08:00
Feng Lee
1a5c10bd6f Depends on 'develop' branch of emqtt 2019-09-24 15:47:36 +08:00
Feng Lee
2790ab318d Rename 'client_id' field to 'client' 2019-09-24 13:53:46 +08:00
JianBo He
26e1d3bcef Fix emqx_cm_SUITE failed 2019-09-21 16:22:33 +08:00
Feng Lee
98b7e3d948 Rename the type 'client()' to 'client_info()'
- Rename tye type 'client()' to 'client_info()'
- Rename the 'client' field of channel to 'client_info'
- Fix the function specs
2019-09-21 15:27:05 +08:00