diff options
author | Loïc Hoguin <[email protected]> | 2017-08-08 16:59:33 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-08-08 16:59:33 +0200 |
commit | 45ddcd8c67f2fc20f4d44e84b5e7e3faef0a1d58 (patch) | |
tree | 04f08112f1c3426c58e756c0f593a17dafe889ab /src/cowboy_stream.erl | |
parent | 4fa7aeb0fd2e68fba267b33538685a7e1e18f4aa (diff) | |
download | cowboy-45ddcd8c67f2fc20f4d44e84b5e7e3faef0a1d58.tar.gz cowboy-45ddcd8c67f2fc20f4d44e84b5e7e3faef0a1d58.tar.bz2 cowboy-45ddcd8c67f2fc20f4d44e84b5e7e3faef0a1d58.zip |
Implement the shutdown timeout for request processes
This should work very similar to normal supervisors,
in particular during the shutdown sequence when the
connection process goes down or switches to Websocket.
Processes that need to enforce the shutdown timeout
will be required to trap exits, just like in a supervisor.
In a vanilla Cowboy, this only matters at connection
shutdown, as Cowboy will otherwise wait for the request
process to be down before stopping the stream.
Tests are currently missing.
Diffstat (limited to 'src/cowboy_stream.erl')
0 files changed, 0 insertions, 0 deletions