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

Fix unused variable warning

This commit is contained in:
Loïc Hoguin 2025-02-06 15:10:12 +01:00
parent 6753ed5815
commit d3f6bda38b
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -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