HomePhabricator

rpc: keep track of acceptors, and cancel them in StopRPCThreads
cef44941e798Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: keep track of acceptors, and cancel them in StopRPCThreads

Fixes #4156.

The problem is that the boost::asio::io_service destructor
waits for the acceptors to finish (on windows, and boost 1.55).

Fix this by keeping track of the acceptors and cancelling them before
stopping the event loops.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 9 2014, 08:01
deadalnixPushed on May 14 2017, 22:04
Parents
rABC381b25dfde01: doc: remove mention of `-rpctimeout` from man page
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCcef44941e798: rpc: keep track of acceptors, and cancel them in StopRPCThreads (authored by Wladimir J. van der Laan <laanwj@gmail.com>).May 12 2014, 07:31