aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl
index badd691..cad1da1 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -486,6 +486,8 @@ flush_pid(ServerPid) ->
flush_pid(ServerPid);
{gun_data, ServerPid, _, _, _} ->
flush_pid(ServerPid);
+ {gun_trailers, ServerPid, _, _} ->
+ flush_pid(ServerPid);
{gun_push, ServerPid, _, _, _, _, _, _} ->
flush_pid(ServerPid);
{gun_error, ServerPid, _, _} ->
@@ -510,6 +512,8 @@ flush_ref(StreamRef) ->
flush_ref(StreamRef);
{gun_data, _, StreamRef, _, _} ->
flush_ref(StreamRef);
+ {gun_trailers, _, StreamRef, _} ->
+ flush_ref(StreamRef);
{gun_push, _, StreamRef, _, _, _, _, _} ->
flush_ref(StreamRef);
{gun_error, _, StreamRef, _} ->