From d138598f63cc980c1333e7c63a95b19e6b279025 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Thu, 13 Mar 2014 17:51:05 -0400 Subject: 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. --- src/rpcserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpcserver.cpp') 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 mapHeaders; -- cgit v1.2.3