Browse Source

chore: upgrade ehttpc from 0.5.0 to 0.6.0

0.6.0 introudced zombie connection detection
by default, if a http connection is inactive for more than 10s after
the last sent request has been expired, it will try to reconnect
zmstone 1 year ago
parent
commit
eb232305be
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mix.exs
  2. 1 1
      rebar.config

+ 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"}}},