diff options
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r-- | src/cowboy_http.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index ae42e6d..f38db97 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -44,7 +44,7 @@ qs = undefined :: binary(), version = undefined :: cowboy:http_version(), headers = undefined :: map() | undefined, %% @todo better type than map() - name = undefined :: binary() + name = undefined :: binary() | undefined }). %% @todo We need a state where we wait for the stream process to ask for the body. @@ -1027,7 +1027,7 @@ terminate(_State, _Reason) -> %% System callbacks. --spec system_continue(_, _, #state{}) -> ok. +-spec system_continue(_, _, {#state{}, binary()}) -> ok. system_continue(_, _, {State, Buffer}) -> loop(State, Buffer). |