Commit Graph

3768 Commits

Author SHA1 Message Date
Feng Lee
62f0f0ccbc Add more test cases for 'emqx_misc' module 2019-08-28 14:29:44 +08:00
Feng Lee
08ab350fec Move the 'pipeline' function to 'emqx_misc' module 2019-08-28 14:29:44 +08:00
GilbertWong
0e9647b601 Delete useless include lib 2019-08-28 11:19:51 +08:00
GilbertWong
783e29d6f7 Add test case for emqx_mod_rewrite 2019-08-28 11:19:51 +08:00
Feng Lee
a4e9142979 Updat app file 2019-08-27 09:27:25 +08:00
turtled
29d49b4073 Fix get connected_at is undefined 2019-08-23 20:37:04 +08:00
zhouzb
5cfd8b74bc Fix a bug that crash when protocol is undefined 2019-08-23 17:29:48 +08:00
tigercl
f26827a0b9
Merge pull request #2837 from emqx/fix_sock_closed
Fix a bug that session terminates immediately when received DISCONNECT packet
2019-08-23 16:14:29 +08:00
zhouzb
9c171f5d9c Fix a bug that session terminates immediately when received DISCONNECT packet 2019-08-23 16:08:26 +08:00
zhouzb
970d243d94 Fix function clause 2019-08-23 15:23:00 +08:00
terry-xiaoyu
6352f9e2dc Update testcase emqx_channel:handle_out 2019-08-23 15:20:25 +08:00
tigercl
7151ae9823
Merge pull request #2836 from emqx/fix-discard
Fix case clause error
2019-08-23 15:18:24 +08:00
Feng Lee
710302f377 Fix case clause error 2019-08-23 14:52:11 +08:00
tigercl
ebc1bd77a9
Send the will message immediately when the network connection is closed by the client (#2834)
Send the will message immediately when the network connection is closed by the client
2019-08-23 14:41:52 +08:00
tigercl
b924825fb9
Merge pull request #2835 from emqx/fix-discard
Handle the 'discard' cast.
2019-08-23 14:41:22 +08:00
Feng Lee
738145677a Handle the 'discard' cast. 2019-08-23 14:31:33 +08:00
tigercl
9f7cc80c1a
Merge pull request #2833 from emqx/update_code
Update emqx_channel.erl
2019-08-23 14:09:42 +08:00
Feng Lee
82b9a7c301 Improve session takeover (#2831)
Implement the session takover/resumption across nodes
2019-08-23 14:09:00 +08:00
zhouzb
44d53ecb33 Update emqx_channel.erl 2019-08-23 13:48:17 +08:00
zhouzb
f3a92f35f6 Handle will message correctly 2019-08-23 13:37:35 +08:00
zhouzb
cff120c6d0 Handle session expiry interval correctly 2019-08-23 13:37:35 +08:00
CrazyWisdom
7052993d00 docs(README.md): add slack invite url 2019-08-23 13:34:00 +08:00
Zhiwei Yu
8710df31b2 Monitor cluster partition event (#2814) 2019-08-23 09:42:55 +08:00
Feng Lee
c69a2b1b48 Ensure session expiration (#2825)
Ensure session expiration
2019-08-23 09:35:29 +08:00
Feng Lee
41e9dad70a Rename reason field to stop_reason 2019-08-22 23:24:16 +08:00
zhouzb
7454e46934 Fix compile error 2019-08-22 16:59:13 +08:00
Feng Lee
8b03371a4a Improve the keepalive, connection, channel and session modules (#2813) 2019-08-22 16:38:25 +08:00
Mousse
bf942e4bec Handle the retained flag correctly (#2811)
Handle the retained flag correctly
2019-08-22 16:21:27 +08:00
tigercl
201428279b
Merge pull request #2817 from emqx/test_emqx_config
Remove redundant code and add test case
2019-08-22 16:13:50 +08:00
GilbertWong
3f20bcf58f Relace emqx_client with emqtt 2019-08-22 14:27:29 +08:00
zhouzb
94c56b5e31 Remove redundant code and add test case 2019-08-21 14:12:34 +08:00
CrazyWisdom
fb1b47de6e fix(README): fix FAQ url (#2815) 2019-08-20 15:23:00 +08:00
tigercl
749ef823ab
Refix code about mqtt spec (#2806)
Refix code about mqtt spec
2019-08-19 10:50:52 +08:00
Feng Lee
f2b552e29e Ensure stats timer 2019-08-19 09:43:58 +08:00
Feng Lee
ae33b6037e Fix the test suites. 2019-08-17 14:39:04 +08:00
Feng Lee
52b2f31ced Merge branch 'improve-channel-design-again' into develop 2019-08-17 14:09:26 +08:00
Feng Lee
f26505d40a Implement session takeover and resumption.
- Implement session takeover
- Remove `init_proc_mng_policy/1' from emqx_misc module
- Remove `conn_proc_mng_policy/1' from emqx_misc module
- Add `emqx_oom' module to monitor OOM of channel process
2019-08-17 13:37:48 +08:00
tigercl
c1fd5f89f1 Make codes compliance with mqtt protocol specifications (#2790)
* Make codes compliance with mqtt protocol specifications

* Fix test case

* Remove emqx_protocol:puback/4
2019-08-17 09:15:43 +08:00
tigercl
2e26cd244a Improve test coverage (#2799)
* Improve test coverage

* Improve test coverage for emqx_cm

* Improve test coverage for emqx_cm_registry

* Fix emqx_client_SUITE
2019-08-16 18:25:49 +08:00
Feng Lee
d63eccd8b8 Add test cases for emqx_keepalive module (#2784)
* Improve the keepalive module
2019-08-16 18:24:39 +08:00
JianBo He
acf54509f5 Add emqx_plugins module test case (#2801) 2019-08-16 18:21:51 +08:00
Gilbert
79744af681 Wrapper proper test cases into common test cases (#2785)
* Wrapper proper test cases into common test cases

* Improve test cases for reason code module (#2789)

* Split 3 proper tests into 3 ct cases

* Improve test cases for client, rpc and request-response

* Add psk suites to increase coverage

* Add sys test cases
2019-08-16 18:07:12 +08:00
JianBo He
8e401968f2 Add testcase for emqx_mod_sup 2019-08-16 17:48:37 +08:00
Shawn
b2ddcb26e2
Testcase logf (#2800)
* Add test cases for logger formatter

* Remove the unregister API
2019-08-16 15:11:38 +08:00
Feng Lee
444972968f Improve emqx_mqtt_props module and add test cases 2019-08-12 14:29:38 +08:00
CrazyWisdom
f615f74791 fix(README): update docs url 2019-08-10 18:40:50 +08:00
周子博
c2cd43ee18 Fix attrs 2019-08-10 00:37:45 +08:00
terry-xiaoyu
0c24bfd78c Make emqx_tracer more reliable 2019-08-09 19:59:39 +08:00
周子博
07fcc152e2 Fix test cases 2019-08-09 19:56:42 +08:00
周子博
f6d6f7f04d Fix test case 2019-08-09 19:45:43 +08:00