diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index bc4b5281..1914454d 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -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