aboutsummaryrefslogtreecommitdiffstats
path: root/test/stream_handler_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-01 17:06:37 +0000
committerLoïc Hoguin <[email protected]>2017-11-01 17:06:37 +0000
commit5bb6438e10ae6b620b88f8d9989e6f6c0d252f34 (patch)
tree7c5fb1cde5e31df7a069889ccbdde3f2c51bc347 /test/stream_handler_SUITE.erl
parent836342abb86b3ff15d1c8319a455d776f7027a87 (diff)
downloadcowboy-5bb6438e10ae6b620b88f8d9989e6f6c0d252f34.tar.gz
cowboy-5bb6438e10ae6b620b88f8d9989e6f6c0d252f34.tar.bz2
cowboy-5bb6438e10ae6b620b88f8d9989e6f6c0d252f34.zip
Don't crash when cowboy_clock is not running
This can happen normally when Cowboy is restarted, for example. Instead of failing requests when that happens, we degrade gracefully and do a little more work to provide the current date header.
Diffstat (limited to 'test/stream_handler_SUITE.erl')
0 files changed, 0 insertions, 0 deletions