diff options
author | Loïc Hoguin <[email protected]> | 2018-10-31 10:50:57 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-31 10:50:57 +0100 |
commit | a8335c63df31f21d88e9d7d1f2b64d32a674cd7a (patch) | |
tree | 2c8adc564263b49621ed969e0e08976258a35ffa /test/handlers/stream_handler_h.erl | |
parent | 07078eb47bfc2a774e4ce00d2a215c301f4f4ea7 (diff) | |
download | cowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.tar.gz cowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.tar.bz2 cowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.zip |
Always dialyze tests and fix some cowboy_req specs
Diffstat (limited to 'test/handlers/stream_handler_h.erl')
-rw-r--r-- | test/handlers/stream_handler_h.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/handlers/stream_handler_h.erl b/test/handlers/stream_handler_h.erl index 0f245c6..2196be3 100644 --- a/test/handlers/stream_handler_h.erl +++ b/test/handlers/stream_handler_h.erl @@ -107,6 +107,7 @@ early_error(StreamID, Reason, PartialReq, Resp, Opts) -> end. %% @todo It would be good if we could allow this function to return normally. +-spec takeover(_, _, _, _, _, _, _) -> no_return(). takeover(Parent, Ref, Socket, Transport, Opts, Buffer, State=#state{pid=Pid}) -> Pid ! {Pid, self(), takeover, Parent, Ref, Socket, Transport, Opts, Buffer, State}, exit(normal). |