-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rpc): Shut down the RPC server properly when Zebra shuts down (#5591
) * Make the queue runner task shut down when the RpcImpl is dropped * Move RPC server startup into the spawn() tokio future * Return a shutdown handle from the RPC spawn() method * Shut down the RPC server properly when Zebra shuts down * Add a changelog entry for this security fix * Call RpcServer::shutdown() when it is dropped, and wait * Block on RPC server shutdown when Zebra's tasks have an error
- Loading branch information
Showing
7 changed files
with
273 additions
and
106 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
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
Oops, something went wrong.