diff options
Diffstat (limited to 'src/gun_http2.erl')
-rw-r--r-- | src/gun_http2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl index 89deea4..edbc7c0 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -124,7 +124,7 @@ parse(Data0, State0=#http2_state{buffer=Buffer}) -> Error = {connection_error, _, _} -> terminate(State0, Error); more -> - State0#http2_state{buffer=Data} + {state, State0#http2_state{buffer=Data}} end. %% DATA frame. |