aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-07 12:43:10 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-10 19:39:38 +0100
commit55c7fb87a99cbd89fe2d98de7bde9854ee12b161 (patch)
tree5640c7b184b57cb3ede100a9f3983337acbc1c2c /tests/fuzz
parentMerge pull request #3866 (diff)
downloadmonero-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')
-rw-r--r--tests/fuzz/levin.cpp1
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; }