mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #3962
55c7fb8
epee: adaptive connection timeout system (moneromooo-monero)
This commit is contained in:
commit
8fad35f8e2
6 changed files with 77 additions and 19 deletions
|
@ -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; }
|
||||
|
|
|
@ -150,6 +150,7 @@ namespace
|
|||
}
|
||||
|
||||
virtual bool close() { /*std::cout << "test_connection::close()" << std::endl; */return true; }
|
||||
virtual bool send_done() { /*std::cout << "test_connection::send_done()" << std::endl; */return true; }
|
||||
virtual bool call_run_once_service_io() { std::cout << "test_connection::call_run_once_service_io()" << std::endl; return true; }
|
||||
virtual bool request_callback() { std::cout << "test_connection::request_callback()" << std::endl; return true; }
|
||||
virtual boost::asio::io_service& get_io_service() { std::cout << "test_connection::get_io_service()" << std::endl; return m_io_service; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue