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.
This commit is contained in:
Gavin Andresen
2014-03-13 17:51:05 -04:00
committed by Wladimir J. van der Laan
parent d3c3210fa3
commit d138598f63
8 changed files with 187 additions and 18 deletions

View File

@@ -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;