Skip to content

Commit

Permalink
epee: fix network timeouts in blocked_mode_client
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphon committed Sep 16, 2019
1 parent d0d76f7 commit 7d81850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/epee/include/net/net_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ namespace net_utils
m_ssl_options(epee::net_utils::ssl_support_t::e_ssl_support_autodetect),
m_initialized(true),
m_connected(false),
m_deadline(m_io_service),
m_deadline(m_io_service, std::chrono::steady_clock::time_point::max()),
m_shutdowned(0),
m_bytes_sent(0),
m_bytes_received(0)
{
check_deadline();
}

/*! The first/second parameters are host/port respectively. The third
Expand Down

0 comments on commit 7d81850

Please sign in to comment.