ソースを参照

Merge pull request #13942 from zmstone/1007-upgrade-ehttpc-from-0.5.0-to-0.6.0

chore: upgrade ehttpc from 0.5.0 to 0.6.0
zmstone 1 年間 前
コミット
f4c3106ac8
3 ファイル変更16 行追加2 行削除
  1. 14 0
      changes/ce/feat-13942.en.md
  2. 1 1
      mix.exs
  3. 1 1
      rebar.config

+ 14 - 0
changes/ce/feat-13942.en.md

@@ -0,0 +1,14 @@
+The HTTP client now automatically reconnects if no activity is detected for 10 seconds after the latest request has expired.
+Previously, it would wait indefinitely for a server response, causing timeouts if the server dropped requests.
+
+This change impacts below components.
+
+- HTTP authentication
+- HTTP authorization
+- Webhook (HTTP connector)
+- GCP PubSub connector (Enterprise edition)
+- S3 connector (Enterprise edition)
+- InfluxDB connector (Enterprise edition)
+- Couchbase connector (Enterprise edition)
+- IoTDB connector (Enterprise edition)
+- Snowflake connector (Enterprise edition)

+ 1 - 1
mix.exs

@@ -194,7 +194,7 @@ defmodule EMQXUmbrella.MixProject do
   def common_dep(:ranch), do: {:ranch, github: "emqx/ranch", tag: "1.8.1-emqx", override: true}
 
   def common_dep(:ehttpc),
-    do: {:ehttpc, github: "emqx/ehttpc", tag: "0.5.0", override: true}
+    do: {:ehttpc, github: "emqx/ehttpc", tag: "0.6.0", override: true}
 
   def common_dep(:jiffy), do: {:jiffy, github: "emqx/jiffy", tag: "1.0.6", override: true}
 

+ 1 - 1
rebar.config

@@ -77,7 +77,7 @@
     {gpb, "4.19.9"},
     {typerefl, {git, "https://github.com/ieQu1/typerefl", {tag, "0.9.1"}}},
     {gun, {git, "https://github.com/emqx/gun", {tag, "1.3.11"}}},
-    {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.5.0"}}},
+    {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.6.0"}}},
     {gproc, {git, "https://github.com/emqx/gproc", {tag, "0.9.0.1"}}},
     {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.6"}}},
     {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.2"}}},