aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2014-04-09 09:25:52 -0700
committerlangerhans <[email protected]>2014-05-26 20:53:05 +0200
commitb9ad84bb6cce75bf5d7bf8bef47eb7dc7bc5b6cd (patch)
tree97b188f912c8061c6c6279474aff81f678d4a8a9 /src/netbase.cpp
parentChanged bitrpc.py's raw_input to getpass for password input (diff)
downloaddiscoin-b9ad84bb6cce75bf5d7bf8bef47eb7dc7bc5b6cd.tar.xz
discoin-b9ad84bb6cce75bf5d7bf8bef47eb7dc7bc5b6cd.zip
Prevent socket leak in ThreadSocketHandler.
When we are over our outbound limit ThreadSocketHandler would try to keep the connection if the peer was addnoded. This didn't actually work for two reasons: It didn't actually run the accept code due to mistaken code flow, and because we have a limited number of outbound semaphores it couldn't actually use the connection. Instead it leaked the socket, which might have caused issue #4034. This patch just takes out the non-functioning white-listing for now.
Diffstat (limited to 'src/netbase.cpp')
0 files changed, 0 insertions, 0 deletions