aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-04 17:34:10 +0200
committerLoïc Hoguin <[email protected]>2018-04-04 17:34:10 +0200
commitadf1a40287c9571b2d563bd528ac26d30ab1f996 (patch)
tree3315f06c870357427602ee3ce1c8123413ed5d1f
parentbbfc1569ccffab060c4c2b402a45119fb1f57495 (diff)
downloadcowboy-adf1a40287c9571b2d563bd528ac26d30ab1f996.tar.gz
cowboy-adf1a40287c9571b2d563bd528ac26d30ab1f996.tar.bz2
cowboy-adf1a40287c9571b2d563bd528ac26d30ab1f996.zip
Fix Dialyzer warnings
-rw-r--r--src/cowboy_websocket.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_websocket.erl b/src/cowboy_websocket.erl
index 992af52..1469c00 100644
--- a/src/cowboy_websocket.erl
+++ b/src/cowboy_websocket.erl
@@ -66,8 +66,8 @@
-record(state, {
parent :: undefined | pid(),
ref :: ranch:ref(),
- socket = undefined :: inet:socket() | undefined,
- transport = undefined :: module(),
+ socket = undefined :: inet:socket() | {pid(), cowboy_stream:streamid()} | undefined,
+ transport = undefined :: module() | undefined,
handler :: module(),
key = undefined :: undefined | binary(),
timeout = infinity :: timeout(),