-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add grpcbox_channel stop/2 alternative
Adds stop/2 for providing more graceful termination of a channel. stop/1 will kill h2 streams which causes crash reports. For a similar termination without crash reports grpcbox_channel:stop(Name, shutdown) can now be called. Calling grpcbox_channel:stop(Name, normal) will shutdown the h2_connection with stop instead of calling exit for it.
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters