Zaiming Shi
236f75b33b
chore(rebar.config): Snabbkaffee should be a default dependency
2021-03-30 10:08:13 +02:00
Zaiming Shi
6e1a55e9ed
perf(emqx_connection): no priority receive
...
Prior to this change the main message receive loop of emqx_connection
is a priority receive which selects system messages and parent EXIT
signals prior to other message.
This accidental (not intended) design may cause the receive operation
to scan potentially large mail box.
2021-03-30 10:08:13 +02:00
Zaiming Shi
66693d6846
fix(emqx_connection): connection OOM kill immediately
...
Prior to this change, connection process' OOM kill is a loopback
message, which results in a delayed kill when message queue length
is large.
In this change, the loopback message is changed to an exit signal.
2021-03-30 10:08:13 +02:00
wwhai
2e30d7803f
fix(channel): fix `keep-alive` problem
2021-03-30 16:01:42 +08:00
Shawn
7bf6ee0f4b
fix(mqtt-sn): sleep mode not working #4434 ( #4435 )
2021-03-29 17:51:49 +08:00
Shawn
583382b8ce
refactor(emqx_coap): rename ps to pubsub
2021-03-29 17:43:56 +08:00
zhanghongtong
df767ad4e5
chore(CI): update test script on after build packages
2021-03-29 17:32:38 +08:00
Zaiming Shi
5e2ba1cdc3
chore: Fix emqx_channel_SUITE meck orders
2021-03-29 09:42:07 +02:00
Zaiming Shi
e579c7624b
chore(channel): Add test case for receive-maximum check and override
2021-03-29 09:42:07 +02:00
Zaiming Shi
6c77fa1bf7
fix(emqx_channel): Receive Maximum spec compliance
...
According to MQTT 5.0 specification
If the Receive Maximum value is absent then its value defaults to
65,535.
2021-03-29 09:42:07 +02:00
Zaiming Shi
b10a60cddb
fix(conninfo): Ensure receive_maximum do not exceed limit
2021-03-29 09:42:07 +02:00
Zaiming Shi
e862ff6b20
chore(config): validate max_inflight range
2021-03-29 09:42:07 +02:00
Zaiming Shi
f363bea960
chore(Makefile): Add make run and make quickrun
2021-03-29 09:42:07 +02:00
Zaiming Shi
d4c6b6b926
chore(scripts): ensure no space in cookie
2021-03-29 09:40:10 +02:00
zhanghongtong
35a69403f7
chore(CI): fix download errror for build workflows
2021-03-29 11:03:42 +08:00
zhanghongtong
52743839d0
chore(release): update emqx release version
2021-03-26 14:50:56 +08:00
Zaiming Shi
f0e947a987
chore(ci): Ensure exit 1 at test failure
2021-03-25 21:23:20 +01:00
Zaiming Shi
4829814c58
chore(ci): inspect docker logs after pytest failure
2021-03-25 18:08:41 +01:00
wwhai
abf26f01d8
fix(mgmt): expose 2 functions to ce
2021-03-25 18:53:17 +08:00
JianBo He
496e5381fb
chore(rule-engine): compatible with the lower case hash string
2021-03-25 09:10:05 +08:00
William Yang
b8c7c9c60b
fix(cluster-webui): export emqx_modules_api:list_modules/1
...
Fix http.500 error when loading page:http://127.0.0.1:18083/#/modules on
a emqx cluster,
2021-03-24 21:37:11 +01:00
William Yang
49bdcf1332
Merge pull request #4432 from qzhuyan/fix/emqx-4426-wss-listener-rendering
...
fix(cuttlefish-schema): parse IP addr for SSL listeners.
2021-03-24 18:16:30 +01:00
William Yang
8f6f649703
fix(cuttlefish-schema): parse IP addr for SSL listeners.
...
Convert IP addr str to tuple to please ranch.
Other types of listeners seem me to be happy with the tuple format as well.
Closes : #4426
2021-03-24 16:29:03 +01:00
Zaiming Shi
a898f6be1e
chore(scripts): boot commands also need node name and cookie
2021-03-24 16:21:15 +01:00
Zaiming Shi
6476a5ea92
fix(script): nodetool use remsh prefixed node name
2021-03-24 16:21:15 +01:00
Zaiming Shi
4ee0dbdea4
fix(scripts): Finds node name and cookie from vm.args
...
For node name and cookie overriden from environment variable
the only way to find it from another shell is to inspect
the vm.args file.
For node boot commands, the vm.args file may not have been created
yet, so we need to inspect node name in emqx.conf
2021-03-24 16:21:15 +01:00
Zaiming Shi
a4b30ea77c
feat(emqx): Add backtrace_depth configuration
2021-03-23 21:30:49 +01:00
Zaiming Shi
dee375d4db
chore(config): delete unused template in emqx.conf
...
the bbmustache template additional_configs is no longer used
2021-03-23 21:30:49 +01:00
Zaiming Shi
4c5273c1d1
style(emqx_inflight): elvis: User UPPER_CASE macro
2021-03-23 21:30:49 +01:00
zhanghongtong
7e3b7bb0fe
chore(CI): fix pkg-vsn error
2021-03-24 00:18:43 +08:00
zhanghongtong
4ce7229382
chore(release): update emqx release version
2021-03-23 23:09:38 +08:00
zhanghongtong
b732d87da9
chore(script): delete emqx_env
2021-03-23 23:08:56 +08:00
zhanghongtong
106b738a89
chore(script): make emqx work with docker entrypoint
2021-03-23 23:08:56 +08:00
Zaiming Shi
78afdd8b57
chore(script): make emqx_ctl work with docker entrypoint
2021-03-23 22:44:37 +08:00
wwhai
3ea8039d90
fix(import): fix import error
2021-03-23 21:57:39 +08:00
Zaiming Shi
09c4f6eef0
chore(boot): Do not ps -ef inspect node name
...
In case there are multiple nodes running
the current code (before this commit) will fail
If we choose to fix, it may stop the wrong node
2021-03-23 14:48:03 +01:00
zhanghongtong
b9c913d18f
chore(CI): fix windows build error
2021-03-23 20:32:23 +08:00
wwhai
83b99c09a4
fix(import): add bridge_mqtt compatible <4.2.x
2021-03-23 20:22:22 +08:00
zhanghongtong
622edcd536
chore(CI): rename arch package name
2021-03-23 19:49:54 +08:00
ayodele.akingbule
1086c09242
docs(config): CSWSH(Cross-Site Web-Socket Hijack) Documentation
2021-03-23 19:49:07 +08:00
JianBo He
f08ddec296
Add server_name_indication and verify option ( #4349 )
...
Add server_name_indication and verify option
2021-03-23 19:48:04 +08:00
JianBo He
277cab86d3
refactor: improve the speed of hexstr and binary conversions
2021-03-23 18:25:19 +08:00
zhanghongtong
5ea897f0f6
chore(CI): check client exited
2021-03-23 09:42:33 +08:00
Zaiming Shi
749f8ff156
chore(build): exclude broken symlinks in find-apps.sh
2021-03-23 09:26:09 +08:00
Zaiming Shi
dcfde3861f
feat(ssl): Export a lib function to save key/cert file
2021-03-22 21:15:34 +01:00
Zaiming Shi
5b126d60ad
style(elvis): force spaces around | and ||
2021-03-22 21:15:16 +01:00
Zaiming Shi
dc510fb572
chore(build): Upgrade to elvis 1.0.0-emqx-2
...
This version ensures spaces around '|' and '||'
2021-03-22 21:15:16 +01:00
Zaiming (Stone) Shi
8ecce74d33
docs(lib-extra/README): Add EMQX_EXTRA_PLUGINS
2021-03-22 19:09:39 +01:00
Zaiming Shi
71559dd001
refactor(ssl): Move data dir for ssl certs upload down to lib module
2021-03-22 16:41:01 +01:00
Zaiming Shi
8a41a4ee00
fix(ssl): Fix dir name for uploaded certificates
...
The dir is "rules" not "rule" in the original code
ref: f1eba1c648/src/emqx_rule_actions_utils.erl
2021-03-22 16:41:01 +01:00