diff options
Diffstat (limited to 'src/cowboy_stream_h.erl')
-rw-r--r-- | src/cowboy_stream_h.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cowboy_stream_h.erl b/src/cowboy_stream_h.erl index a7ce721..70772c8 100644 --- a/src/cowboy_stream_h.erl +++ b/src/cowboy_stream_h.erl @@ -28,10 +28,10 @@ -record(state, { ref = undefined :: ranch:ref(), pid = undefined :: pid(), - read_body_ref = undefined :: reference(), - read_body_timer_ref = undefined :: reference(), + read_body_ref = undefined :: reference() | undefined, + read_body_timer_ref = undefined :: reference() | undefined, read_body_length = 0 :: non_neg_integer() | infinity, - read_body_is_fin = nofin :: nofin | fin, + read_body_is_fin = nofin :: nofin | {fin, non_neg_integer()}, read_body_buffer = <<>> :: binary() }). |