diff options
author | Gregory Maxwell <greg@xiph.org> | 2014-04-09 09:25:52 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2014-04-09 09:30:36 -0700 |
commit | d20791b0e524bb1834ec7776acf0dec84c24861b (patch) | |
tree | 7486f89c07373927ea652406d0ebefa01c77bb5f /src/hash.h | |
parent | 20ecf5c27d808d5e887fe4b1dfd23a4d60003f8e (diff) |
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/hash.h')
0 files changed, 0 insertions, 0 deletions