diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-09-24 17:29:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-09-28 15:06:20 +0200 |
| commit | 5e0c22135600fe36811da3b78216efc61ba765fb (patch) | |
| tree | 0d43f766390191a3b3db1ed0bb1a3f85da618a4a /src/bench/bench.cpp | |
| parent | Merge pull request #6724 (diff) | |
| download | discoin-5e0c22135600fe36811da3b78216efc61ba765fb.tar.xz discoin-5e0c22135600fe36811da3b78216efc61ba765fb.zip | |
Make HTTP server shutdown more graceful
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 #6717.
Diffstat (limited to 'src/bench/bench.cpp')
0 files changed, 0 insertions, 0 deletions