Skip to content

Commit

Permalink
Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Feb 6, 2025
1 parent 6753ed5 commit d3f6bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cowboy_http.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3f6bda

Please sign in to comment.