diff options
-rw-r--r-- | src/gun_http2.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl index 6176fe3..1905888 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -119,6 +119,8 @@ parse(Data0, State0=#http2_state{buffer=Buffer}) -> close -> close; State1 -> parse(Rest, State1) end; + {ignore, Rest} -> + parse(Rest, State0); {stream_error, StreamID, Reason, Human, Rest} -> parse(Rest, stream_reset(State0, StreamID, {stream_error, Reason, Human})); Error = {connection_error, _, _} -> |