Browse Source
Shutting down the HTTP server currently breaks off all current requests. This can create a race condition with RPC `stop` command, where the calling process never receives confirmation. This change removes the listening sockets on shutdown so that no new requests can come in, but no longer breaks off requests in progress. Meant to fix bitcoin/#6717. Zcash: cherry-picked from commit 5e0c22135600fe36811da3b78216efc61ba765fbpull/4/head
Wladimir J. van der Laan
9 years ago
committed by
Jason Davies
2 changed files with 23 additions and 7 deletions
Loading…
Reference in new issue