mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Numerous Dialyzer fixes
This commit is contained in:
parent
ed664345d7
commit
e10daf39fa
11 changed files with 43 additions and 35 deletions
|
@ -44,7 +44,7 @@
|
|||
qs = undefined :: binary(),
|
||||
version = undefined :: cowboy:http_version(),
|
||||
headers = undefined :: map() | undefined, %% @todo better type than map()
|
||||
name = undefined :: binary()
|
||||
name = undefined :: binary() | undefined
|
||||
}).
|
||||
|
||||
%% @todo We need a state where we wait for the stream process to ask for the body.
|
||||
|
@ -1027,7 +1027,7 @@ terminate(_State, _Reason) ->
|
|||
|
||||
%% System callbacks.
|
||||
|
||||
-spec system_continue(_, _, #state{}) -> ok.
|
||||
-spec system_continue(_, _, {#state{}, binary()}) -> ok.
|
||||
system_continue(_, _, {State, Buffer}) ->
|
||||
loop(State, Buffer).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue