diff options
author | Loïc Hoguin <[email protected]> | 2019-07-27 14:50:26 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-27 14:50:26 +0200 |
commit | 1014a3bd57fe35281f6f65335ae13a32c116840d (patch) | |
tree | 02b0294f1040df4b3328eac21b88fc88f0b029ce /src/cow_http2_machine.erl | |
parent | 8b6b528b246ff6009430cdd592886a6299968d68 (diff) | |
download | cowlib-1014a3bd57fe35281f6f65335ae13a32c116840d.tar.gz cowlib-1014a3bd57fe35281f6f65335ae13a32c116840d.tar.bz2 cowlib-1014a3bd57fe35281f6f65335ae13a32c116840d.zip |
Add missing lingering_data in the spec
Diffstat (limited to 'src/cow_http2_machine.erl')
-rw-r--r-- | src/cow_http2_machine.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cow_http2_machine.erl b/src/cow_http2_machine.erl index 10c79e3..4c30da3 100644 --- a/src/cow_http2_machine.erl +++ b/src/cow_http2_machine.erl @@ -278,6 +278,7 @@ init_upgrade_stream(Method, State=#http2_machine{mode=server, remote_streamid=0, -spec frame(cow_http2:frame(), State) -> {ok, State} | {ok, {data, cow_http2:streamid(), cow_http2:fin(), binary()}, State} + | {ok, {lingering_data, cow_http2:streamid(), pos_integer()}, State} | {ok, {headers, cow_http2:streamid(), cow_http2:fin(), cow_http:headers(), pseudo_headers(), non_neg_integer() | undefined}, State} | {ok, {trailers, cow_http2:streamid(), cow_http:headers()}, State} |