aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
authorBartek Walkowicz <[email protected]>2018-03-01 14:49:57 +0100
committerLoïc Hoguin <[email protected]>2018-03-14 17:15:06 +0100
commit21317093285190f854acaf223db2e08f79069757 (patch)
treee234a0e8e32b39f87bdfc2282b09611d71a55fc8 /src/cowboy_req.erl
parentf9092126fafe063513444ca2b3c2aec6af14ed7b (diff)
downloadcowboy-21317093285190f854acaf223db2e08f79069757.tar.gz
cowboy-21317093285190f854acaf223db2e08f79069757.tar.bz2
cowboy-21317093285190f854acaf223db2e08f79069757.zip
Add case for handling infinity for idle/request_timeout
Currently cowboy assumes that idle_timeout or request_timeout is a number and always starts timers. Similar situation takes place in case of preface_timeout for http2. This commit adds case for handling infinity as a timeout, allowing to not start mentioned timers.
Diffstat (limited to 'src/cowboy_req.erl')
0 files changed, 0 insertions, 0 deletions