diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-07 12:43:10 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-10 19:39:38 +0100 |
commit | 55c7fb87a99cbd89fe2d98de7bde9854ee12b161 (patch) | |
tree | 5640c7b184b57cb3ede100a9f3983337acbc1c2c /tests/fuzz/levin.cpp | |
parent | Merge pull request #3866 (diff) | |
download | monero-55c7fb87a99cbd89fe2d98de7bde9854ee12b161.tar.xz |
epee: adaptive connection timeout system
a connection's timeout is halved for every extra connection
from the same host.
Also keep track of when we don't need to use a connection
anymore, so we can close it and free the resource for another
connection.
Also use the longer timeout for non routable local addresses.
Diffstat (limited to 'tests/fuzz/levin.cpp')
-rw-r--r-- | tests/fuzz/levin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fuzz/levin.cpp b/tests/fuzz/levin.cpp index 6a164dda9..4ced1837f 100644 --- a/tests/fuzz/levin.cpp +++ b/tests/fuzz/levin.cpp @@ -158,6 +158,7 @@ namespace } virtual bool close() { return true; } + virtual bool send_done() { return true; } virtual bool call_run_once_service_io() { return true; } virtual bool request_callback() { return true; } virtual boost::asio::io_service& get_io_service() { return m_io_service; } |