aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2021-02-08 15:50:34 +0100
committerLoïc Hoguin <[email protected]>2021-02-08 15:50:34 +0100
commitb968200939ff568ed7b427ef7cbe5389d96f473d (patch)
tree46d87f977f87a45be29882592361e6d93429234d
parentf3c16ccd2eeada70806bd53aaacf9a1c68214da1 (diff)
downloadgun-b968200939ff568ed7b427ef7cbe5389d96f473d.tar.gz
gun-b968200939ff568ed7b427ef7cbe5389d96f473d.tar.bz2
gun-b968200939ff568ed7b427ef7cbe5389d96f473d.zip
Fix type that breaks gun_pool compilation
-rw-r--r--src/gun_pool.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_pool.erl b/src/gun_pool.erl
index 56734ee..da31a42 100644
--- a/src/gun_pool.erl
+++ b/src/gun_pool.erl
@@ -96,7 +96,7 @@
-export([terminate/3]).
-type setup_msg() :: {gun_up, pid(), http | http2 | raw | socks}
- | {gun_upgrade, pid(), gun:stream_ref(), [<<"websocket">>], [{binary(), binary()}]}.
+ | {gun_upgrade, pid(), gun:stream_ref(), [binary()], [{binary(), binary()}]}.
-type opts() :: #{
conn_opts => gun:opts(),