diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gun.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl index a584e01..f628199 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -459,6 +459,8 @@ flush_pid(ServerPid) -> flush_pid(ServerPid); {gun_down, ServerPid, _, _, _, _} -> flush_pid(ServerPid); + {gun_inform, ServerPid, _, _, _} -> + flush_pid(ServerPid); {gun_response, ServerPid, _, _, _, _} -> flush_pid(ServerPid); {gun_data, ServerPid, _, _, _} -> @@ -481,6 +483,8 @@ flush_pid(ServerPid) -> flush_ref(StreamRef) -> receive + {gun_inform, _, StreamRef, _, _} -> + flush_pid(StreamRef); {gun_response, _, StreamRef, _, _, _} -> flush_ref(StreamRef); {gun_data, _, StreamRef, _, _} -> |