diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-03-13 17:51:05 -0400 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-24 19:14:51 +0100 |
commit | d138598f63cc980c1333e7c63a95b19e6b279025 (patch) | |
tree | 6cb03d8cacb23eca0979e4d3bfab888c4b056780 /src/rpcserver.cpp | |
parent | d3c3210fa376a9c1ce55c537a3f4439202783624 (diff) |
Fix regression tests
Taught bitcoind to close the HTTP connection after it gets a 'stop' command,
to make it easier for the regression tests to cleanly stop.
Move bitcoinrpc files to correct location.
Tidied up the python-based regression tests.
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r-- | src/rpcserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 2c0cdd345f..7ad73836a7 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -732,7 +732,7 @@ static string JSONRPCExecBatch(const Array& vReq) void ServiceConnection(AcceptedConnection *conn) { bool fRun = true; - while (fRun) + while (fRun && !ShutdownRequested()) { int nProto = 0; map<string, string> mapHeaders; |