mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Fix unused variable warning
This commit is contained in:
parent
6753ed5815
commit
d3f6bda38b
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ after_parse({data, StreamID, IsFin, Data, State0=#state{opts=Opts, buffer=Buffer
|
|||
end;
|
||||
%% No corresponding stream. We must skip the body of the previous request
|
||||
%% in order to process the next one.
|
||||
after_parse({data, StreamID, IsFin, _, State=#state{buffer=Buffer}}) ->
|
||||
after_parse({data, _, IsFin, _, State=#state{buffer=Buffer}}) ->
|
||||
parse(Buffer, set_timeout(State, case IsFin of
|
||||
fin -> request_timeout;
|
||||
nofin -> idle_timeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue