diff options
author | Loïc Hoguin <[email protected]> | 2025-01-24 13:05:45 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-01-24 13:05:45 +0100 |
commit | 2531b26acf804892b27a9171afa566ac007616ef (patch) | |
tree | a110035bfd8186a23dadd8a7949c1e893d67bdda /src | |
parent | 05d77153a02d90b97a075ed059f878b5ab9ab615 (diff) | |
download | cowboy-2531b26acf804892b27a9171afa566ac007616ef.tar.gz cowboy-2531b26acf804892b27a9171afa566ac007616ef.tar.bz2 cowboy-2531b26acf804892b27a9171afa566ac007616ef.zip |
Add initial http_perf_SUITE
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_http.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index 9c92ec5..78d65d2 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -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 |