aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authortcatm <tcatm@gawab.com>2011-02-23 01:07:43 +0100
committertcatm <tcatm@gawab.com>2011-02-23 01:07:43 +0100
commit10e135af70683fa5d0477fb008fe7fd00b83d914 (patch)
tree57ecfe1a7ccb402c602e407411c731290a8a08f7 /rpc.cpp
parent6696beed4502fe4e4c8a8d4801cbc4c9007239d9 (diff)
parent8fd402bfcf3ab32bd59b0b80017ce5eccf94f093 (diff)
Merge branch 'master' of https://github.com/sandos/bitcoin into sandos-master
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc.cpp b/rpc.cpp
index 69b09bcfa7..4001380987 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -1710,6 +1710,8 @@ void ThreadRPCServer2(void* parg)
ip::tcp::endpoint endpoint(bindAddress, GetArg("-rpcport", 8332));
ip::tcp::acceptor acceptor(io_service, endpoint);
+ acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));
+
#ifdef USE_SSL
ssl::context context(io_service, ssl::context::sslv23);
if (fUseSSL)