0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix Dialyzer warnings

This commit is contained in:
Loïc Hoguin 2018-04-04 17:34:10 +02:00
parent bbfc1569cc
commit adf1a40287
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -66,8 +66,8 @@
-record(state, { -record(state, {
parent :: undefined | pid(), parent :: undefined | pid(),
ref :: ranch:ref(), ref :: ranch:ref(),
socket = undefined :: inet:socket() | undefined, socket = undefined :: inet:socket() | {pid(), cowboy_stream:streamid()} | undefined,
transport = undefined :: module(), transport = undefined :: module() | undefined,
handler :: module(), handler :: module(),
key = undefined :: undefined | binary(), key = undefined :: undefined | binary(),
timeout = infinity :: timeout(), timeout = infinity :: timeout(),