mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Exit gracefully on parent exit/sys:terminate/2,3
This commit is contained in:
parent
21ff3ff256
commit
d4129e6305
5 changed files with 11 additions and 17 deletions
|
@ -386,7 +386,7 @@ reason() :: normal | switch_protocol
|
|||
| {socket_error, closed | atom(), HumanReadable}
|
||||
| {stream_error, Error, HumanReadable}
|
||||
| {connection_error, Error, HumanReadable}
|
||||
| {stop, cow_http2:frame(), HumanReadable}
|
||||
| {stop, cow_http2:frame() | {exit, any()}, HumanReadable}
|
||||
|
||||
Error = atom()
|
||||
HumanReadable = atom()
|
||||
|
@ -420,6 +420,7 @@ tuple.
|
|||
|
||||
== Changelog
|
||||
|
||||
* *2.6*: The `{stop, {exit, any()}, HumanReadable}` terminate reason was added.
|
||||
* *2.2*: The trailers command was introduced.
|
||||
* *2.0*: Module introduced.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue