diff --git a/changes/ce/fix-10086.en.md b/changes/ce/fix-10086.en.md new file mode 100644 index 000000000..31e8b6453 --- /dev/null +++ b/changes/ce/fix-10086.en.md @@ -0,0 +1,4 @@ +Upgrade HTTP client ehttpc to `0.4.7`. +Prior to this upgrade, HTTP clients for authentication, authorization and webhook may crash +if `body` is empty but content-type HTTP header is set. +For more details see [ehttpc PR#44](https://github.com/emqx/ehttpc/pull/44). diff --git a/changes/ce/fix-10086.zh.md b/changes/ce/fix-10086.zh.md new file mode 100644 index 000000000..b7c110ea4 --- /dev/null +++ b/changes/ce/fix-10086.zh.md @@ -0,0 +1,3 @@ +HTTP 客户端库 `ehttpc` 升级到 0.4.7。 +在升级前,如果 HTTP 客户端,例如 认证,授权,webhook 等配置中使用了content-type HTTP 头,但是没有配置 body,则可能会发生异常。 +详情见 [ehttpc PR#44](https://github.com/emqx/ehttpc/pull/44)。