From d3f6bda38bedfdfef911cd5ba715c19be9b0408e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 6 Feb 2025 15:10:12 +0100 Subject: [PATCH] Fix unused variable warning --- src/cowboy_http.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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