mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Add initial http_perf_SUITE
This commit is contained in:
parent
05d77153a0
commit
2531b26acf
4 changed files with 171 additions and 20 deletions
|
@ -295,6 +295,7 @@ set_timeout(State=#state{streams=[], in_state=InState}, idle_timeout)
|
|||
when element(1, InState) =/= ps_body ->
|
||||
State;
|
||||
%% Otherwise we can set the timeout.
|
||||
%% @todo Don't do this so often, use a strategy similar to Websocket/H2 if possible.
|
||||
set_timeout(State0=#state{opts=Opts, overriden_opts=Override}, Name) ->
|
||||
State = cancel_timeout(State0),
|
||||
Default = case Name of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue