aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-02-06 15:10:12 +0100
committerLoïc Hoguin <[email protected]>2025-02-06 15:10:12 +0100
commitd3f6bda38bedfdfef911cd5ba715c19be9b0408e (patch)
tree23091f35e465008ba8596b363ff55f356c66eb88 /src
parent6753ed581531cf6d4ab7664c575b96385f063651 (diff)
downloadcowboy-d3f6bda38bedfdfef911cd5ba715c19be9b0408e.tar.gz
cowboy-d3f6bda38bedfdfef911cd5ba715c19be9b0408e.tar.bz2
cowboy-d3f6bda38bedfdfef911cd5ba715c19be9b0408e.zip
Fix unused variable warning
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index bc4b528..1914454 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