aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gun_http2.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index b1eb370..c107095 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -31,16 +31,16 @@
ref :: reference(),
reply_to :: pid(),
%% Whether we finished sending data.
- local = nofin :: cowboy_stream:fin(),
+ local = nofin :: fin | nofin,
%% Local flow control window (how much we can send).
local_window :: integer(),
%% Buffered data waiting for the flow control window to increase.
local_buffer = queue:new() :: queue:queue(
{fin | nofin, non_neg_integer(), iolist()}),
local_buffer_size = 0 :: non_neg_integer(),
- local_trailers = undefined :: undefined | cowboy:http_headers(),
+ local_trailers = undefined :: undefined | cow_http:headers(),
%% Whether we finished receiving data.
- remote = nofin :: cowboy_stream:fin(),
+ remote = nofin :: fin | nofin,
%% Remote flow control window (how much we accept to receive).
remote_window :: integer(),
%% Content handlers state.