zhouzb
3984f8cd2f
chore(log): update log content
2021-05-14 19:27:04 +08:00
zhouzb
c6771a57b6
chore(update dep): update dep of ehttpc
2021-05-14 19:27:04 +08:00
Zaiming Shi
b8e271a588
chore: add more info in test log
2021-05-06 11:03:02 +02:00
Zaiming Shi
a37f47887a
fix(ipv6): add ipv6_probe socket option only when supported
...
ipv6_probe is a socket option supported in EMQ's otp.git fork.
If the target hostname has a ipv6 DNS resolution, gen_tcp
tries to establish a connection on ipv6.
If it fails, then a fallback to default gen_tcp:connection
2021-04-28 10:43:36 +02:00
zhouzb
d9c7c72612
feat(ipv6 probe): automatically probe whether it is IPv6
2021-04-28 10:43:36 +02:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
Zaiming Shi
186dfd04a7
test(webhook): ignore messages from other clients
2021-04-20 18:29:50 +02:00
Zaiming Shi
e59eacb891
test(webhook): test ipv6 for real
2021-04-20 08:13:23 +02:00
zhanghongtong
8ef4df4592
chore(web hook): fix tests error
2021-04-16 23:27:20 +08:00
zhanghongtong
53992ba138
chore(tests): fix tests error for web hook
2021-04-15 23:07:00 +08:00
JianBo He
50f6ff4151
test(proper): avoid to generate any term
2021-04-15 21:49:25 +08:00
zhouzb
9bedd1bb4f
chore(ehttpc): update tag of ehttpc
2021-04-15 21:47:20 +08:00
JianBo He
c413af5c35
test(proper): track to the lastest code
...
- use limited atom type
- keep webhook confs testing to lastest schema
2021-04-14 19:38:56 +08:00
JianBo He
1d241bc39c
fix(webhook): convert atom to binary to avoid jiffy encoding failure
2021-04-14 19:38:56 +08:00
k32
9ead5c8cfd
chore(test): fix shutting down of applications in web hooks suite
2021-04-14 19:18:35 +08:00
JianBo He
16c999ed9b
Start emqx-modules application by default ( #4518 )
...
* fix(modules): start emqx_modules by default
* chore(test): eliminate some compile warnings
2021-04-12 09:45:31 +08:00
wwhai
765d84ef48
test(mgmt): add data import tests ( #4481 )
2021-04-12 09:06:22 +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
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
zhanghongtong
98c62df2e4
fix(log): fix web hook print error
2021-03-16 10:22:07 +01:00
Zaiming Shi
c752f3bec5
Refactor http lib add uri parse ( #4292 )
...
* feat(http_lib): Add uri parse to emqx_http_lib
* fix(webhook): call emqx_http_lib to parse uri
* fix(auth-http): Call emqx_http_lib to parse uri
* fix(rule-engine): call emqx_http_lib to parse uri
2021-03-06 13:35:02 +08:00
z8674558
1504164933
chore(src): fix dialyzer warnings (match values)
2021-03-03 20:06:31 +09:00
Zaiming Shi
16c27663cd
refactor(webhook): transport options refine
2021-03-01 21:00:17 +08:00
Turtle
801b3d6daf
style: remove spaces at the end of lines
2021-03-01 21:00:17 +08:00
Turtle
db13f18cbe
fix(webhook): transport options
2021-03-01 21:00:17 +08:00
Zaiming Shi
026e1494fb
fix(webhook): fix config entry web.hook.api.url -> web.hook.url
2021-03-01 21:00:17 +08:00
JianBo He
319d44d1bf
chore(webhook): remove needless files
2021-03-01 21:00:17 +08:00
Zaiming Shi
4aca2c294f
fix(webhook): transport options
2021-03-01 21:00:17 +08:00
Zaiming Shi
0a51bd4c2f
fix(webhook): Call common lib for ssl options
2021-03-01 21:00:17 +08:00
Zaiming Shi
219eeed6d7
fix(webhook): Explicit default tls version and cipher
2021-03-01 21:00:17 +08:00
Zaiming Shi
fcfcbf139d
chore(webhook): merge enterprise to opensource
2021-03-01 21:00:17 +08:00
Zaiming Shi
507759b9f1
Revert "refactor(emqx_modules): Move modules config to app dir"
...
This reverts commit 9cae8784c0
.
Because the reverted change broke compatibility with 4.2.x
configuration.
2021-02-11 16:44:12 +01:00
Zaiming Shi
514c2c0af5
Merge pull request #4169 from zmstone/refactor-move-modules-config-to-emqx-modules-app
...
refactor(emqx_modules): Move modules config to app dir
2021-02-10 09:03:04 +01:00
Zaiming Shi
9cae8784c0
refactor(emqx_modules): Move modules config to app dir
2021-02-10 00:02:52 +01:00
Zaiming Shi
f000b6583c
fix(tls): Ensure tls config integrity
...
For default tsl version and ciphers, we try to use otp release number
to determin if we want to use tlsv1.3
For default configs, we try to porivde both tlsv1.3 and
ciphers in config (even for commented out configs)
2021-02-09 22:56:28 +01:00
JianBo He
045bc02ec9
test(ci): add proptests chekcing to the makefile
2021-02-04 14:22:17 +08:00
wwhai
6eff70a646
fix(rule-engine): reply 500 when update resource failed ( #4120 )
2021-02-01 09:47:08 +08:00
tigercl
730d09f874
fix(http): upgrade ehttpc to 0.1.2 ( #4093 )
...
For fix the connection closed by keepalive
2021-01-29 09:35:08 +08:00
zhanghongtong
6a83cf3f35
chore(format): format some code
2021-01-28 19:18:18 +08:00
JianBo He
8d56371465
Merge branch 'dev/v4.3.0' into fix/webhook_certs
2021-01-25 19:22:14 +08:00
JianBo He
86942ffa14
fix(webhook): fix bad https confs
2021-01-25 18:20:12 +08:00
zhouzb
b25dedccc9
refactor(inet parse): refactor inet parse
2021-01-25 15:59:23 +08:00
wwhai
f3420e8810
fix(rule-engine): fix update resource maybe remove resource
2021-01-25 10:56:58 +08:00
turtleDeng
2751fa6a41
fix(scheme): update emqx_web_hook_actions.erl
2021-01-16 22:25:12 +08:00
zhouzb
bf84686b76
chore(ehttpc): update tag of ehttpc
2021-01-16 22:25:12 +08:00
zhouzb
9f0dbeff29
fix(webhook): fix ipv6 in ip and hostname
2021-01-16 22:25:12 +08:00
zhouzb
114bf8e048
fix(webhook): only POST and PUT requests carry Content-Type header and using the original URL as host header
2021-01-16 22:25:12 +08:00
tigercl
372687d79d
improve(http): replace httpc with gun, improve performance and fix httpc unresponsiveness ( #3940 )
2021-01-13 13:47:23 +08:00
Shawn
0a44270932
* fix(dialyzer): remove the dialyzer errors
2020-12-17 10:04:49 +08:00