From 1014a3bd57fe35281f6f65335ae13a32c116840d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 27 Jul 2019 14:50:26 +0200 Subject: Add missing lingering_data in the spec --- src/cow_http2_machine.erl | 1 + 1 file changed, 1 insertion(+) 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} -- cgit v1.2.3